Hi, My web application has a number of pages that check user access Althought it ran fine on my local machine, it seems like HttpSessionState session changes back to null after a period of time, and so the page directs back to login page after around 15 min or so. Is there a way for me to keep the user info from going to null? Thanks,
Thanks for your reply. Is there a way to prevent this from happening? The logout doesnt happen when I run the app on local. Thanks in advanced.
You may want to look at storing your sessions in a SQL server. This way if the application pool is recycled that sessions will still exist because they are on the database server and not the web server. Try looking at this kb article. http://support.Winhost.com/KB/a626/how-to-enable-aspnet-sql-server-session-on-your-web.aspx