Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've been developing ASP applications for the past few years. I'm FINALLY beginning to look at .NET for future developments. I currently have a coporate extranet developed completely in ASP. I want to begin to "migrate" some pieces of our extranet over to .NET. My first application was using Forms-Based authentication which works great! I create session variables from my login screen that I use throughout my current extranet. Upon successful authentication I create these session variables then call an existing ASP 3.0 page. I'm having issues, however, retrieving the information stored in the session variables that were created in a .aspx page. Is that right? Am I able to mix environments between .NET and legacy ASP applications?

 

For some reason it seems to make sense that I can do this but it doesn't seem to work.

  • Administrators
Posted

Unfortunately the ASP.Net runtime stores it's session variables seperate to the ASP runtime so they cannot see each others. This is a result of how ASP.Net state management has been improved (now works across web farms etc).

How much data is being stored in these session variables - two possible fixes are if the data is small pass as a query string or if large shove it into a database and pass a reference across in the query string.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...