Yep absolutely. Just my $.02. I used to use cookies all the time but found
they're more trouble than they are worth compared to the session. I only use
them now when they are the only good solution. :)

Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC


> From: Pierre Thibaudeau <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <user@struts.apache.org>
> Date: Sat, 9 Aug 2008 16:19:08 -0400
> To: Struts Users Mailing List <user@struts.apache.org>
> Subject: Re: [S2] general question about cookies and namespace
> 
> 2008/8/9 Randy Burgess <[EMAIL PROTECTED]>
> 
>> As long as you set the cookie path and stick to that path it
>> doesn't matter where the user enters the site.
> 
> 
> Well, not entirely, it seems to me.  Say, for example, that I were to set
> the path to "/something/very/complex/and/unwieldy", the browser would make
> those cookies available with the request only when the namespace of the
> request were to be the same (or a child) of that long path.
> 
> Which is why, as you point out, the only practical options are "/" or
> "contextPath()".  (In which case, indeed, it doesn't matter where the user
> enters.)



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

Reply via email to