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
How do we sort the data from a dataset?
How long do session variables last?
Explain what is viewstate?
What are the new login controls in asp.net 2.0?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
What is the use of view state?
What is the difference between trace and debug in asp.net?
What are the advantages of using Master Pages?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
How to use a Master Database in Asp.net?
What is a Cookie? Where is it used in ASP.NET?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
Define a web service in .net?
Tell me the code snippet to show how we can return 404 errors from HttpError?