Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Migrating Sessions from ASP


Message #1 by "Peter Lawrence" <peter.lawrence@p...> on Fri, 22 Mar 2002 15:11:17 -0000
the Session Object is what maintains sessions and these are intrinsic
objects
to ASP or ASP.Net but not to both.

ie both frameworks implement different session objects: the ASP.Net Session
object
is part of the .Net API and so cannot share session values.

You still access them the same and indeed, the EnableSessionState=false/true
page directive
is still the same.

Storing a sessionID in the database is one way of communicating (have fields
for both asp and asp.net
sessionid's) and querystrings are, as you say the other way.

Phil


-----Original Message-----
From: Peter Lawrence [mailto:peter.lawrence@p...]
Sent: 22 March 2002 15:11
To: ASPX_Professional
Subject: [aspx_professional] Migrating Sessions from ASP


Hi

I am adding new stuff in ASP.NET to an existing ASP application. Ideally I
want to have Session variables accessible to both parts of the application,
but it appears that I can't do that directly.

What maintains Session variables? Presumably it's not IIS?

Any suggestions for communicating between the areas? - I suppose
QueryStrings, and data in the DB.

Thanks
Peter Lawrence




  Return to Index