Re: Session Management



> Is it possible to have session management differentiate within
>browsers on one pc?

If you have DIFFERENT BROWSERS on one PC, say, IE and Mozilla,
they won't share cookies. In particular, they won't share the
session cookie. So they'll establish different sessions and
have different session data.

>For example, if you have two browsers on the same
>shopping site, and one browser adds to the cart, the other browser
>should still show an empty cart.

I'll disagree about "should" here: that behavior you want might
break a lot of web sites that use frames and sessions, for instance
"webmail" sites, that depend on shared information between frames.

I believe that will happen with DIFFERENT BROWSERS. It won't happen
with two windows from the same running instance of the same browser.
I'm not sure what happens if you try two different running instances
of the same browser (start it up twice - it may not let you do that
using the same user profile for both instances (Firefox won't). It
should, but I haven't tested it, work with two different running
instances of the same browser using different user profiles).

>I don't know if this is possible,
>since I have done testing on amazon.com, and have seen that when I add
>an item to the cart on one browser, then open a 2nd browser window, go
>to amazon.com, the cart will contain the item I added from the 1st
>browser window. Any ideas?

Gordon L. Burditt
.



Relevant Pages

  • Re: Session State does not end after closing browser
    ... >> David Lozzi ... >>> are the cart items stored in a DB or just in the session? ... If the user loads the shopping cart and then closes all browser ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP sessionstate
    ... ASP doesn't know or care what browser it ... ticket number given when the first item is added to the cart. ... How can a Response.Write write to the server screen? ... :> delete the cart file and set the session ...
    (microsoft.public.inetserver.asp.general)
  • "Compaq Web Agent" management session can be re-used without the need to perform authentic
    ... destructive actions (as server reboot). ... Compaq Web Agent Service 6.0.0.0 using Compaq HTTP Server 5.1.0 on ... servers via a secured HTTP session from a browser client, ... via a legitimate authenticated SSL session - if he closes the session by ...
    (Bugtraq)
  • Re: Attempt to de-mystify AJAX
    ... >>maintaining a session via URL is not a problem. ... >> around cookies and JS, but it seems to be tough. ... >> as needed back to the server. ... but as I mentioned before - a non-dynamic request by the browser can ...
    (comp.databases.pick)
  • Re: Problem with a session
    ... Your first posting was a bit vague, but now I understand your problem. ... the POSTDATA and sets againg the session variable to true and anyone ... This IS a real problem, and you cannot 100% solve it. ... try to tell the browser NOT to chache it. ...
    (comp.lang.php)