in reply to force to work with new session

Yes, in fact since HTTP is stateless, as far as the web server is concerned EVERY page viewed is a new session, that's why you have to use session ids, cookies, or other tricks to keep track of people. The server can't tell and doesn't care how many windows you have open.

Replies are listed 'Best First'.
Re: Re: force to work with new session
by hgolan (Initiate) on Feb 25, 2003 at 14:47 UTC
    hi lets say i have script A.asp that have 2 buttons, one to B.asp and the other is to C.asp, both B,C print the session id but C.asp have in the code $Session->Abandon(); if i will click both buttons and refresh script C and then refresh script B i will see the id was changed. but if i will open explorer and go to script B, open another one and go to script C even if i will refresh script C(that have session abandon) script B.asp session id is not changing. why now the are working on 2 different sessions? and can i do the same as if i clicked on script A??? thanks!!!