Re: How can I prevent Sessions from ending just because the browser window is closed

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



"Yanesh Tyagi" <yanesh.tyagi@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:O1o$RmdkGHA.4044@xxxxxxxxxxxxxxxxxxxxxxx

You may set a cookie on the client machine. Also set a time out limit (say
2 minutes). Now if a user closes the window, and get to your site again,
this cookie will give you the last session id and you can manipulate your
code accordingly.

And what if this is a shared public computer...?


.



Relevant Pages

  • Re: cookie not sent with window.open
    ... through the web-server then the browser would not pass the session cookie to ... >> - the user clicks this hyperlink, which opens a new Internet Explorer ... >> open a new window calling useCookie.asp ...
    (microsoft.public.inetserver.asp.general)
  • Re: cookie not sent with window.open
    ... > the first thing that I can think of is that that second browser window is ... > running a new browser session, making it impossible for that window to ... date to the cookie, so the cookie is session independent, as long as the ...
    (microsoft.public.inetserver.asp.general)
  • Re: cookie not sent with window.open
    ... > - the user clicks this hyperlink, which opens a new Internet Explorer ... > open a new window calling useCookie.asp ... > - useCookie.asp retrieves the cookie set by getCookie.asp, ... > window.opencan cause a new browser session to be created, ...
    (microsoft.public.inetserver.asp.general)
  • Re: cookie not sent with window.open
    ... which opens a new Internet Explorer ... new window calling useCookie.asp ... useCookie.asp retrieves the cookie set by getCookie.asp, ... cause a new browser session to be created, by I do know for sure this can be ...
    (microsoft.public.inetserver.asp.general)
  • Re: post and php (newbie question)
    ... to manipulate and requires validation over and over again on every page ... You don't seem to understand tat all a session is, ... passed to *ONE* GET POST or cookie. ... A simple DB is as secure as a flat file. ...
    (comp.lang.php)