Forum Moderators: open

Message Too Old, No Replies

Mixing ASP & ASP.Net

Session Variable Problems

         

IanTurner

8:58 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I am having problems on a site where some of the code is new ASP.Net code and some is old ASP code. (Don't ask why - we just don't have the resource to rewrite the whole app)

If I set a Session variable in the ASP code, the ASP.Net code doesn't seem to pick up the fact that the session variable is set.

Anyone got any ideas about how we can get the .Net code to see the Session variable?

bcolflesh

9:02 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check this article:

eggheadcafe.com/articles/20021207.asp

IanTurner

9:54 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thanks very much bcolflesh - most enlightening.

RossWal

11:48 pm on Sep 29, 2003 (gmt 0)

10+ Year Member



Another thought is to use cookies instead. I'm planning to do just that for a project, ecncrypting the sensitive stuff. Not bullet proof, but good enough for this project!