But then how do you get the two distinct users in the
two opened windows? They are sharing the same session
object. And even if you generate a random number, how
can you track in that jsp file and find out? Is there
any way to tell jsp to use different session
ids/objects for different browser
The only way I can think of is by having every link of every page returned
apply some sort of random number. Something like:
a href="/path/page.jsp?number=%= bean.getRandomNumber() %"click/a in a
jsp page.
That way, every link on every request has a different URL each time its
returned. But, I
please remove me from this list. Thanks, Matt
Matthew L. Hankes
Senior Technical Recruiter
Jivaro
Professional Headhunters
[EMAIL PROTECTED]
408-733-5082 Voice
408-733-5066 Fax
www.jivaroinc.com
* Ask about our Referral Program! *
-Original Message-
From: A mailing list about Java
It's even worse than that as it depends on the version of IE you're running.
I run IE 5.0 and 5.5 on W2K. If you do a File..New Window you'll always get
the same process, so you'll share in-memory cookies. If you start a new IE
process (from the task bar, explorer etc.) you'll get a new process,
hi,
i am using cookies for the session tracking (request.getSession( )),
when i log into the system i will put the userInfo object into the
session object and each page i will check for existence of the userInfo
object in session , if exist allow the user to continue the page ,stop it otherwise.
Bhushan Bhangale wrote:
Hi
The two browsers on the same machine will always have two different session. You
said they are using same session object but they will have different session id.
That may or may not be true on the Mac (I don't run one, so don't know how cookies are
implemented