Any chance to get Session from HttpSessionState.SessionID?

  • Thread starter Thread starter Uglykid
  • Start date Start date
U

Uglykid

Is there any chance to get a HttpSessionState reference form it's SessionID.
for example:
step1.keep the SessionID in DB
step2.to abandon the Session via the SessionID in DB!

Regards!
 
You can use System.Web.HttpContext.Current.Session in a lot of places to
retrieve the current SessionState instance...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top