Losing Session Variables during Response.Redirect???

  • Thread starter Thread starter TCook
  • Start date Start date
T

TCook

I am losing my session variables after a Response.Redirect.

My web.config file contains the following:

<sessionState mode="InProc"
stateConnectionString="tcipip=127.0.0.1:42424"
cookieless="false"
timeout="60"
/>

What do I need to do to get this to work!?!?!
 
Hey Karl,

Thanks for the note but, unfortunately, it did not work properly.
'Response.Redirect', regardless of the parameters passed, destroys my
session variables. The other techniques mentioned are insuffiicient as they
never actually moved from the original page.

Any other suggestions are welcome.

Thanks,

Todd


"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:[email protected]...
 
For my purposes, I just created some properties in a code behind class and
it is working well for my uses.

Thanks again though for the URL. Interesting info there, for sure.


TCook said:
Hey Karl,

Thanks for the note but, unfortunately, it did not work properly.
'Response.Redirect', regardless of the parameters passed, destroys my
session variables. The other techniques mentioned are insuffiicient as
they never actually moved from the original page.

Any other suggestions are welcome.

Thanks,

Todd


"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:[email protected]...
 
Back
Top