You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bill Page <Bi...@DigitalGarden.com> on 2002/02/19 17:53:31 UTC

sessions

I'm having a problem with sessions using JRun.  I have noticed that the
address line sometimes has a url;jsessionid=nnnnn and sometimes it doesn't.
When it doesn't I seem to end up with a new session id.  Any thoughts?

thanks

	bill page
	billp@digitalgarden.com
	Digital Garden Software, Inc.
	856 US Hwy 206 Bldg B Ste 15
	Hillsborough, NJ 08844
	908.904.0664



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: sessions

Posted by Keith <ke...@yahoo.com>.
Hi Bill,
This has been answered but I couldn't find the answer in the archive!
I'm not the expert here but - it's when a new session is created.
Struts doesn't know if the browser accepts cookies (where the session id is to
be stored) so puts it in the URL (URL re-writing). On the next request struts
knows the cookie is accepted so doesn't need to put the sessionId inthe URL.
So every time you see that it's the symptom of a new session being created - no
the cause.

--- Bill Page <Bi...@DigitalGarden.com> wrote:
> I'm having a problem with sessions using JRun.  I have noticed that the
> address line sometimes has a url;jsessionid=nnnnn and sometimes it doesn't.
> When it doesn't I seem to end up with a new session id.  Any thoughts?
> 
> thanks
> 
> 	bill page
> 	billp@digitalgarden.com
> 	Digital Garden Software, Inc.
> 	856 US Hwy 206 Bldg B Ste 15
> 	Hillsborough, NJ 08844
> 	908.904.0664
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>