AFter 30 minutes of not touching the browser.
Here is an example.
At about 12:30pm I opened up the demo project (thePhile) and went set 2 pages to trace. I have the application folder set as Web Sharing (as was in the book).
I then brought up the App and moved to the News view headlines and copied the trace information. I then left for lunch and came back and moved to another page. Same information, same session ID.
Here is the session information from the webConfig file:
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="Persist Security Info=False;Data Source=Dino\SQL2K;Initial Catalog=thePhile;User ID=sa;Password=tfstom;"
cookieless="false"
timeout="2"
Here is the trace information (note the time).
At Session Id: 1xrwe245f0mym3ak3mfftnrx Request Type: GET
Time of Request: 6/3/2005 12:35:50 PM Status Code: 200
Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)
ThePhile 1115B2147ED8A8D320E9F7C4024F891FC20A8AF2BCFB5205C0 876CECCD7D1BB536C4D8937C98F86ADF015C10D46304E9314F 725848737F9B07AF8D24B9B4F1662837EDBF4153E60D4656D3 343E4EAFE050A2AE9D63DBC7D7F6C5649F3E890FF6 201
Polls_Question20 71 19
ASP.NET_SessionId 1xrwe245f0mym3ak3mfftnrx 42
ASPSESSIONIDAQBRQQAC DGKFIIFANOCJDDBOIJKOBLND 45
Came back from lunch (not the time again).
Session Id: 1xrwe245f0mym3ak3mfftnrx Request Type: GET
Time of Request: 6/3/2005 1:52:42 PM Status Code: 200
Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)
ThePhile 1115B2147ED8A8D320E9F7C4024F891FC20A8AF2BCFB5205C0 876CECCD7D1BB536C4D8937C98F86ADF015C10D46304E9314F 725848737F9B07AF8D24B9B4F1662837EDBF4153E60D4656D3 343E4EAFE050A2AE9D63DBC7D7F6C5649F3E890FF6 201
Polls_Question20 71 19
ASP.NET_SessionId 1xrwe245f0mym3ak3mfftnrx 42
ASPSESSIONIDAQBRQQAC DGKFIIFANOCJDDBOIJKOBLND 45
Why didn't the session time out?
Is there something else set that prevents that from happening?
Thanks,
Tom
|