Re: Problem sharing session between classic ASP and ASP.NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Superman wrote:
Sorry for the late reply,

No! You don't have to use SqlServer. You can configure your session
provider to use any data source necessary. For aspNet 2.0, take a look
at the "sessionState" element and use the "custom" provider model. You
can implement your own provider to store it in your Oracle database
just the same as a SqlServer implementation.

Good luck!


Thanks, Superman.

While I read through the MSDN documentation about this issue, I have
one question and I don't see how it is addressed.

OK, when a web user logs in from the classic ASP page, the SessionID
and the login info are written to the database.

Then, my ASP.NET application retrieves such info from the database.
But to retrieve John F Kennedy's login info instead of Marilyn
Monroe's, the ASP.NET application needs to know John's SessionID. But
how does it get to know this since the ASP.NET application is unaware
of what is going on in the classic ASP application? It seems to me
that some sort of communication directly between the classic ASP and
the ASP.NET applications is necessary.

Please share your wisdom. Thanks.

.



Relevant Pages

  • Re: Membership custom provider - logout function
    ... The custom membership provider should work against this security server. ... > the data store does not generate a sessionID - the data store says yes/no ... > You can configure the behaviour, lifetime, name etc. of that ticket using ... >> store to invalidate the sessionID. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Session_end Global.asax
    ... I maintain login info for users in table such as who, when and sessionId. ... Manny ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)