mholocher638 Posted January 14, 2004 Posted January 14, 2004 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. Quote
Administrators PlausiblyDamp Posted January 14, 2004 Administrators Posted January 14, 2004 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mholocher638 Posted January 14, 2004 Author Posted January 14, 2004 That's what I was thinking after much testing I noticed the sessions were handled separately. Thanks for the reply. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.