I think this would hapen outside the localhost environment (i.e. if the site
was hosted on a remote server), the problem is that all the browser windows
are open on one PC and share the same session-id cookie.

If you are using IE as your browser, then whenever you file->new->window
(same as Ctrl-N) you will open a new window that shares the same session as
the old window. The work around in IE to run each session separately is to
start each window by double-clicking the desktop icon or running "iexplore"
using start->run.

Cheers
Adrian

> -----Original Message-----
> From: Carl Woermann [SMTP:[EMAIL PROTECTED]
> Sent: 11 March 2003 10:30
> To:   [EMAIL PROTECTED]
> Subject:      Testing with sessions on localhost
>
> Hi all;
>
> I'm using the sessions object to store user information in sessions, such
> as
> name, details etc...
>
> Unfortunately when I test several pages at the same time (within the
> session
> time) the user information seems to be overwritten / destroyed and the
> servlet seems to freeze.. .
>
> I'm assuming that this is due to the shared session object, being modified
> by what the server sees as the same user. While I'm also assuming (I've
> learnt to never assume anything..) that this would not probably not happen
> outside the locallhost enviroment, I was wondering how I could simulate
> different users in order to do the testing?
>
> Thanks
> CARL WOERMANN
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to