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 is difference between View State and Hidden Field in ASP.NET?
What is http only cookie?
What is the difference between file-based dependency and key-based dependency?
what are the ihttphandler and ihttphandlerfactory interfaces ?
How can we create Tree control in asp.net?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
Define caching.
How to prepare culture-specific formatting in .net.
when a request is made in Life cycle of ASP.NET page .
What is comparevalidator?
What is the full form of asp.net?
What is clickid?
Can a master page have more than one contentplaceholder?
How many types of session state management options available in asp.net?
What are session cookies?