Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session variables are lost

Reply
Thread Tools

Session variables are lost

 
 
Guns
Guest
Posts: n/a
 
      07-16-2005
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




 
Reply With Quote
 
 
 
 
Daniel Walzenbach
Guest
Posts: n/a
 
      07-16-2005
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



"Guns" <(E-Mail Removed)> schrieb im Newsbeitrag
news:ub%(E-Mail Removed)...
> 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
>
>
>
>



 
Reply With Quote
 
 
 
 
Alexander Widera
Guest
Posts: n/a
 
      07-16-2005
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.




"Guns" <(E-Mail Removed)> schrieb im Newsbeitrag
news:ub%(E-Mail Removed)...
> 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
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost session variables =?Utf-8?B?cmFtZW5kcmE=?= ASP .Net 4 09-12-2006 02:25 PM
Session Variables work from Page1 to Page2 / lost from Page2 to Page3 P. Prosper ASP .Net 2 08-26-2005 02:31 PM
RE: Lost Session Variables =?Utf-8?B?TWljaGFlbCBTTA==?= ASP .Net 3 02-26-2004 03:51 PM
Lost session variables - size issue? Eliyahu Goldin ASP .Net 1 01-14-2004 04:27 AM
Session Variables lost between pages gupta ASP .Net 1 11-06-2003 03:40 AM



Advertisments