How to create a new session...

  • Thread starter Thread starter Alex D.
  • Start date Start date
A

Alex D.

Hi guys. I have been trying to create a new session from the server droping
the exixting session using Session.Abandon but since the browser doesnt know
that the session was abandoned it keeps sending the old session number and
then the server uses the same old sesion number to start a new session. Is
there a way to seta new session number and send it back to the browser?
thanks,
alex.
 
In a word, yes. Close the browser. in ASP.NET 2.0, a new Session object isn't
created until something is added to it. So, it's possible that's part of your
issue (although we don't know what your code is doing since you didn't post
any)

--Peter
 
well what I have been trying to do is to launch multiple new browser windows
each with its own session from the same parent window... though it seems is
not possible, so I will have to change my whole concept cause I didnt count
with this issue. In the HTML specification there should be something like
target=_newsession. That would simplify everything.
 

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