Session is getting expired at exception

Feb 2 2007 11:04 AM

Hello All,

Sessions are getting expired when there are any exceptions as I am handling exceptions using catch block.

The issue is when I submit the page it shows an error message if it has any. If I submit the page again and page shows my sessions have already expired and does nothing. I check session expiry at every page_load, if sessions are expired and I will redirect the page to another page. So I would not want my session are to be expired if there are any errors in my application or in page rather I would like to handle exceptions.

I expect some knows a solution for this issue. If any, could you please share with me how to solve this! and that would be a great help for me.

Thanks in advance.