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

What are the advantages of the code-behind feature?

724


How can exception be handled with out the use of try catch?

736


How does the iis work?

765


How many types of validation are there?

704


What is the Difference between MVC And MVP design pattrens

2417


Explain the difference between asp.net mvc and asp.net webforms

778


Is asp.net web forms dead?

719


Is oauth for authentication or authorization?

758


What is sdlc process?

729


What are the asp.net security controls?

788


What is full form of asp.net?

701


Explain about asp.net 2.0 themes?

722


Explain the different types of assemblies?

707


How do cookies work?

764


What is the default authentication mode for asp.net?

774