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

Give some salient points of difference between request processor and request dispatcher.

614


How can we update records in gridview?Is there any appropriate code for it?

1604


What is difference between View State and Hidden Field in ASP.NET?

661


How will you maintain versioning in asp.net 2.0?

590


What is the basic difference between asp and asp.net?

520






What is difference between singleton and single call?

646


Explain swagger components.

570


What are the different properties of server control that exists?

567


Which is better asp.net or php?

532


What is strong-typing versus weak-typing?

585


Can you explain how ASP.NET application life cycle and page life cycle events fire?

568


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1413


Which two new properties are added in asp.net 4.0 page class?

525


What is _dopostback in asp net?

530


What is the difference between mvc and asp.net? : Asp.Net MVC

478