Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transferring session from ASP classic to ASP.NET

Status
Not open for further replies.

miteetall

Programmer
Jul 1, 2003
21
US
Anyone know of the best way to transfer session variables from asp to asp.net? Thanks in advance.
[morning]
 
session("variable") = textbox1.text

bottom line session variables work just the same.
 
Thanks for the reply, but I suppose I was not too clear. I have an existing ASP.OLD ;^) application and would like to add some additional functionality, but I would like to do it in ASP.NET. I'm currently using session variables in the ASP.OLD application and need to access those variables in the new ASP.NET pages.

I'm currently thinking about using the approach in but I think there might be a cleaner way.

Thanks
[morning]
 
Ahh, now I see. Haddn't bumped into that (and didn't realize that they can't share session variables directly).

I have some old asp apps, but had the luxury of just converting them (not too many to worry about and none that are mixed)

Sorry I don't know if I have any bright ideas that could help.

 
the only [highlight]Cleaner[/Highlight] way is to store the sessions data into a datasource then use them

good luck


Note:Copying and Pasting is NoT Creativity.
What would you attempt to accomplish if you knew you would not fail?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top