State Management (most likely a repost)
-
My application is a HR asp app that in the future will span mutiple pcs in a web farm configuration. Due to the requirements my app needs to know who is currently logged into my system. So I was doing alittle research: http://www.aspalliance.com/aspxtreme/webforms/statemanagementrecommendations.aspx[^] The summation of the aforementioned information is this: State can be stored either on the client or the server. (lol, I knew that) Client-side options are: The ViewState property Hidden fields Cookies Query strings Server-side options are: Application state Session state Database Since I need to track User sessions with in my app I was thinking Session state ( the most obvious, no?) Does The Session State Object transcend Physical web server boundries. Example, if box A serves the login page. and box b is requested to serve the user home page, will box b deny the request because the session is on box A?
-
My application is a HR asp app that in the future will span mutiple pcs in a web farm configuration. Due to the requirements my app needs to know who is currently logged into my system. So I was doing alittle research: http://www.aspalliance.com/aspxtreme/webforms/statemanagementrecommendations.aspx[^] The summation of the aforementioned information is this: State can be stored either on the client or the server. (lol, I knew that) Client-side options are: The ViewState property Hidden fields Cookies Query strings Server-side options are: Application state Session state Database Since I need to track User sessions with in my app I was thinking Session state ( the most obvious, no?) Does The Session State Object transcend Physical web server boundries. Example, if box A serves the login page. and box b is requested to serve the user home page, will box b deny the request because the session is on box A?
If you use an out of process state server or SQL to store the state you are find going across physical server boundaries. The web servers will share the same state store and you won't have a problem.