Re: Session Management



Jay wrote:

> Hello,
> Is it possible to have session management differentiate within
> browsers on one pc? 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 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?
>
> -Jay
> (patel at cs dot utk dot edu)

The short answer is no.

There is (AFAIK) no way way to differentiate between browser windows other
than on the basis of the code they hold. This is ingrained into the
structure of HTTP, HTML and browser technology, although having tried to
solve this problem myself I think it would be a very useful extension.

You could use the use_trans_sid option to get the browser to reference
different sessions but this (IME) doesn't work very reliably.

It is possible to subdivide the session but you still have the problem of
maintaining a reference to the sub-part in the browser window. My form
editor PfP Studio (http://pfp-studio.sourceforge.net) uses this method.

HTH

C.
.



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)
  • This SHOULD be an easy question....
    ... For option 1 to be secure, I would need to encrypt the query string before ... if one browser window spawns a nother, they share the same session ID, so I ...
    (microsoft.public.dotnet.languages.vb)
  • 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)