Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

SessionState Expired File does not exist

$
0
0

I have a webpage that uses web forms and uses sessionstate that is cookieless. Since it is cookieless the session is put in the url. The problem occurs when a user copy and pastes our url and tries to access their page after the sessionstate expires. Instead of the .net recreating a session or redirecting to a new session, I am getting the following error: The file (s(13vd3ucbiprwc0b2m5d3gfvu))/page.aspx' does not exist.

As you can see it looks like iis is looking for the actual file instead of realizing that there is a session in the url. I saw the following article http://msdn.microsoft.com/en-us/library/aa479314.aspx and did check iis for the correct aspnet_filter.dll's and they are listed properly.


This is how I call the session state in the web config, please note I removed the database connection for security purposes:

sessionState mode="SQLServer" timeout="60" cookieless="true" regenerateExpiredSessionId="true"

Please note that is only one page and the users session is created on the page_init.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>