HI Chu :
Well i think if the browser is once closed at than restarted should not it
generate the new session id, As the browser has started a new session with
servlet, but because of old session values i m getting lot o f problem as i
m have made Session values primary key, IS there any way to avoid it.
Hemant
----- Original Message -----
From: "Chu J Tan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Hemant Singh"
<[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 6:00 AM
Subject: Re: Session & Cookie relation
> If your servlet is in a session, and than you shut down and reopen
> iexplorer, it is normal that you get a new session value from Tomcat.
Than,
> you should use the cookie to reinitialize the new session to be the same
as
> the old one.
> That's a feature of the cookie, so than you can reestablish session based
on
> the cookie.
>
> chu
>
> ----- Original Message -----
> From: "Hemant Singh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 01, 2001 11:23 AM
> Subject: Session & Cookie relation
>
>
> > HI ALL:
> > I found a strange problem which i later solved after a lot of
debugging,
> > If my servlet is setting a cookie than after closing and reopening and
> > giving new hit from browser give me two different session values, that
is
> if
> > i access session without reading cookie than i get different session
value
> > than i get when i access session after reading cookie.
> > Is it some feature which i was unaware of that?
> > Thanks all,
> > Hemant Singh
> >
>
>
> NetZero Platinum
> No Banner Ads and Unlimited Access
> Sign Up Today - Only $9.95 per month!
> http://www.netzero.net