If I'm developing an application that must accommodate
multiple security levels though secure login and my ASP.NET
web application is spanned across three web-servers (using
round-robin load balancing) what would be the best approach
to maintain login-in state for the users?
Answer Posted / a
/* Alternate row color */
for (int j = 0; j < dstNew.Tables[0].Rows.Count; j++) {
if (j % 2 == 0) {
sb.Append("<tr class=\"row\">");
}else{
sb.Append("<tr
class=\"altRow\">");
}
sb.Append("<td>" + dstNew.Tables
[0].Rows[j]["DivisionID"] + "</td>");
sb.Append("<td>" + dstNew.Tables
[0].Rows[j]["DivisionName"] + "</td>");
sb.Append("</tr>");
}
/* Style */
.row{
background-color:Gray;
}
.alrRow{
background-color:Olive;
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of the code-behind feature?
How can exception be handled with out the use of try catch?
How does the iis work?
How many types of validation are there?
What is the Difference between MVC And MVP design pattrens
Explain the difference between asp.net mvc and asp.net webforms
Is asp.net web forms dead?
Is oauth for authentication or authorization?
What is sdlc process?
What are the asp.net security controls?
What is full form of asp.net?
Explain about asp.net 2.0 themes?
Explain the different types of assemblies?
How do cookies work?
What is the default authentication mode for asp.net?