Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 07, 2012 08:02 AM by Topspy
Dec 02, 2012 05:19 PM|LINK
I am having an issue when my session expires. I have code at the start of ever page that will check if a session value is still valid. If it's not it will direct the user to the default.aspx page. Now for some reason when the page expires, you click the
button and nothing happens. This is on every page on my website. I did have customErrors set in my web config file and it would direct it to that page each time - which was my errors.aspx page. I commented out the custom errors and now the page just sits there
and no button clicks will process. What is the issue here? I just moved it to a new web hosting account and it didn't seem to do this on my old one.
Dec 02, 2012 07:03 PM|LINK
The same code on my old hosting site works fine. What could it be on the new hosting site that makes the button clicks not function after the session times out?
Dec 03, 2012 03:10 AM|LINK
Are you use shared hosting? If yes, most of shared hosting doesnt allow you to use session as there are other services on the server that may impact your site session. You can use ASP.NET Session state as an alternative, please refer to :
Hope this help
Dec 07, 2012 08:02 AM|LINK
Another possibility is your website located in a crowd application pool that got recycling frequently. Just contact your hosting support for further assistance. Regards