1.

If Iam Developing An Application That Must Accomodate Multiple Security Levels Though Secure Login And My Asp.net Web Appplication Is Spanned Across Three Web-servers (using Round-robbin Load Balancing) What Would Be The Best Approach To Maintain Login-in State For The Users?

Answer»

Use the STATE server or store the state in the DATABASE. This can be easily done through simple setting change in the web.config.

<sessionState mode="InProc" stateConnection String= "tcpip=127.0.0. 1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa; password=" cookieless="false" timeout="30"/>

in the above one INSTEAD of mode="InProc", you specifiy stateserver or sqlserver.

Use the state server or store the state in the database. This can be easily done through simple setting change in the web.config.

<sessionState mode="InProc" stateConnection String= "tcpip=127.0.0. 1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa; password=" cookieless="false" timeout="30"/>

in the above one instead of mode="InProc", you specifiy stateserver or sqlserver.



Discussion

No Comment Found