we have a session variable object that gets lost in the same event call.
I have windows XP Pro as my os with the latest service pack...
I have the .net 1.1 SP1 installed. Even tried installing 1.0 SP2 but that
does not work for me...
Here is what my machine.config looks like:
<sessionState mode="InProc" cookieless="true" timeout="20"/>
Any help is appreciated...
Thanks
Guns
www.goondemand.com
Daniel Walzenbach - 16 Jul 2005 11:26 GMT
Guns,
Does the web.config file get changed? Probably because of a virus scanner?
Or do you prob. have another file in your bin directory which is changed
during execution or another configuration file or an access database?
If so you know why your application will restart and (because you save the
session InProc) looses your session.
Greetings
Daniel
> we have a session variable object that gets lost in the same event call.
> I have windows XP Pro as my os with the latest service pack...
[quoted text clipped - 10 lines]
> Guns
> www.goondemand.com
Alexander Widera - 16 Jul 2005 12:06 GMT
Try instead of "InProc" this:
<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
sqlConnectionString="data source=127.0.0.1;Integrated Security=SSPI"
cookieless="false"
timeout="20"
/>
And run the "ASP.NET State Server Service" in Services....
I had the same problem of ramdomly disappearing/reappearing
session-values.... Not it works fine.
> we have a session variable object that gets lost in the same event call.
> I have windows XP Pro as my os with the latest service pack...
[quoted text clipped - 10 lines]
> Guns
> www.goondemand.com