Session Variables created in ASP Classic: Can they be read by ASP.NET code?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've been smacking into one brick wall after the next in converting some of my code from ASP Classic to ASP.NET. This one is a real bugger. I use Session Variables to help with User Security. If they drop a key Session Variable then they are signed out of the application.

I create this session variable at Signon in Classic ASP code, but as I am finding out the hard way later ASPX code modules are not picking up these session variables. Is there a way to do this? Every time I execute a Request.Cookies("variablename").Value it tells me that "Object reference not set to an instance of an object"

Any ideas
Thanks
Wynte
 
Back
Top