...

View Full Version : Sharing session values from asp.net to a classic asp page?



binici
01-05-2007, 06:54 PM
Hello all!

I am in a delima here. I have a membersonly section that our users log into. I am passing a tokenkey to verify the session and to prevent others from hacking, sharing, ect info. I am setting the tokenkey to a session.item("sesTokenKey") in the codebehind.

Now we created a page in classic asp, which we need to request("Tokenkey"), which is working fine by passing the arguements via the link, but I need to match it by verifying the session value, from the asp.net main page.

In classic asp its session.content("").

Is there a way around this? I hope I made sense.

Thanks,

Robert

binici
01-05-2007, 09:59 PM
I did a temporary fix, which is to use a redirect page in between the pages to set the values.

Thanks!

SpirtOfGrandeur
01-09-2007, 12:53 PM
The Session objects between Classic ASP and ASP.Net are completely different. This would make sense as they are both different ISAPI filters inside of IIS. There is no way to share the Session data in the way you described. You need to create a communication channel between the two yourself.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum