As you will find out by doing some quick googling, there is no automatic way to transfer a session between ASP and ASP.net. Some have suggested that you should load the session variables in a database while in the ASP (or ASP.net) portion of the site and retrieve them into a fresh Session object when you are on the ASP.net (or ASP) portion of the site.
- Load a Session Object in ASP
- Server.Transfer to an ASP page. On this page retrieve each entry in the Session object into a hidden form field. Include one hidden field that contains the final destination aspx page. Automatically post this field to a receiver ASP.net page.
- ASP.net receiver page. In Page_Load scan the Request.Form object, insert each posted entry to the (new) ASP.net Session object. Server.Transfer to the destination page (listed in one of the posted fields)
- Destination ASP.net page. You now have an ASP.net session object that contains all of the appropriate entries for this user
The same procedure can also be reversed to transfer back from ASP.net to ASP. Sample files can be downloaded here.
Doesn’t look too complicated. I think I may give it a try.