Hello,
I had a login page developed in asp(not .net), in which if user login details are OK, then usercd and other details are stored in session. Now, I had developed one page in .net (aspx.cs) in which I want to access usercd defined in session variable(on asp page). How can I do that??? Its Urgent.

Recommended Answers

All 3 Replies

Sorry!!! But I can't get answer to my question.

Hi , ASP and ASP.Net do not share the same session , they operate in different ways allocation vise. Here is an excerpt from MSDN --- " Session state information is stored in memory in ASP script and can't be shared with other applications, such as ASP.NET. If the session state is stored in a common format in Microsoft® SQL Server, the session state can be accessible by both classic ASP and ASP.NET. " .

Please refer to this URL for help achieving it.

http://msdn2.microsoft.com/en-us/library/aa479313.aspx


Daya

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.