You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by SA...@bouyguestelecom.fr on 2001/05/31 16:19:49 UTC

archives

hi, i'd like to know where i can view the archives ?

thanks


> -----Message d'origine-----
> De:	Pablo Trujillo [SMTP:Patrujil@adinet.com.uy]
> Date:	mercredi 30 mai 2001 18:08
> À:	tomcat-user@jakarta.apache.org
> Objet:	Session in Tomcat
> 
> Hello friends,
> I need information about how Tomcat assign the numbers of ID for each
> session.
> I also need to know where is  the Cookie JSessionID stored.
> I wait you can help me and  thank you
> Pablo

Re: archives

Posted by Bo Xu <bo...@cybershop.ca>.
SAMEUNIE@bouyguestelecom.fr wrote:

> hi, i'd like to know where i can view the archives ?
>
> thanks
> [...]

Hi :-)

- http://jakarta.apache.org/site/mail2.html
- click "Tomcat-User Archives"
- http://mikal.org/interests/java/tomcat/index.jsp


Bo
may.31, 2001




Re: archives

Posted by François Andromaque <fr...@sib.fr>.
http://marc.theaimsgroup.com/
----- Original Message -----
From: <SA...@bouyguestelecom.fr>
To: <to...@jakarta.apache.org>
Sent: Thursday, May 31, 2001 4:19 PM
Subject: archives


> hi, i'd like to know where i can view the archives ?
>
> thanks
>
>
> > -----Message d'origine-----
> > De: Pablo Trujillo [SMTP:Patrujil@adinet.com.uy]
> > Date: mercredi 30 mai 2001 18:08
> > À: tomcat-user@jakarta.apache.org
> > Objet: Session in Tomcat
> >
> > Hello friends,
> > I need information about how Tomcat assign the numbers of ID for each
> > session.
> > I also need to know where is  the Cookie JSessionID stored.
> > I wait you can help me and  thank you
> > Pablo


Re: Session & Cookie relation

Posted by Chu J Tan <zt...@gmx.net>.
Use a cookie with lifetime of -1.

Then when the browser shuts off and on, the cookie is gone. Then you know
the session should be reset.

----- Original Message -----
From: "Hemant Singh" <Si...@Yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Monday, June 04, 2001 10:48 AM
Subject: Re: Session & Cookie relation


> 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" <zt...@gmx.net>
> To: <to...@jakarta.apache.org>; "Hemant Singh"
> <Si...@Yahoo.com>
> 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" <Si...@Yahoo.com>
> > To: <to...@jakarta.apache.org>
> > 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
>


Re: Session & Cookie relation

Posted by Hemant Singh <Si...@Yahoo.com>.
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" <zt...@gmx.net>
To: <to...@jakarta.apache.org>; "Hemant Singh"
<Si...@Yahoo.com>
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" <Si...@Yahoo.com>
> To: <to...@jakarta.apache.org>
> 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


Re: Session & Cookie relation

Posted by Chu J Tan <zt...@gmx.net>.
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" <Si...@Yahoo.com>
To: <to...@jakarta.apache.org>
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

Session & Cookie relation

Posted by Hemant Singh <Si...@Yahoo.com>.
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