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


Please Help Members By Posting Answers For Below Questions

Explain the differences between clr & cts?

552


How can we make sure that Web API returns JSON data only?

531


What is viewstategenerator?

690


Define xmlreader class.

569


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

511






What is a pixel url?

505


What is fulltrust?

553


What is an asp.net validator? And, mention its types.

583


how to retrieve property settings from xml .config file.

539


Explain the asp.net page life cycle.

548


What is the page life cycle in asp.net?

550


How can you use a custom controls in ASP.NET application?

538


What is advantage of asp.net?

537


What is asp.net? How is it different from asp?

538


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2360