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 session and application in asp net?
Why session is used in asp.net?
How to disable validator control by client side JavaScript?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
What are the options in ASP.NET to maintain state?
How should I destroy my objects in asp.net?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
Describe the .net base class library.
Explain what are webservices?
Explain the path instructions in xaml?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Where is the view state data stored?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
Is asp.net core faster?
What symbol specifies the beginning of a query string?