You do actually have to go through the pains of rewriting all of your URLs
in links and things for this to work. If you have a link in a page like
this: <a href="/loseMySession.do">Lose it!</a> you will lose the session,
since there is no call to rewrite the URL.

I believe that the Struts tags will rewrite the URLs as part of their normal
processing, so they might be very helpful. But you have to use them
consistently! One bad URL in the whole site/app will drop the session if the
user clicks on it.

-Max

----- Original Message -----
From: "Wendy Cameron" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 6:39 PM
Subject: RE: URL Rewriting


This is what I would have expected, but isnt our experience and I am not
sure why.

Regards Wendy

> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 12:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: URL Rewriting
>
>
> My Tomcat 4.1.18 does this automatically if cookies are off.
>
> David
>
>
>
> >From: "Wendy Cameron" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List (E-mail)"
> <[EMAIL PROTECTED]>
> >Subject: URL Rewriting
> >Date: Thu, 20 Mar 2003 12:36:44 +1000
> >
> >We have come up against a problem with URL re-writing in
> Tomcat, basically
> >what happens is if the user switches off, cookies all
> session information
> >is lost.  We need to have session information even if
> cookies are disabled,
> >is there some options somewhere in Tomcat 4.1.18 to switch on, URL
> >rewriting to put in the session id and do url rewriting
> based session
> >tracking.
> >
> >Regards Wendy
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to