I've been battling this myself (we're using IIS and Tomcat 4.1).  We
accept credit cards and enabling cookies was the only way we could get
the session to survive the switch from HTTP to HTTPS and back.

You have to enable cookies at the context level.  You do this in
server.xml.  If you haven't defined a context in this file, that means
you are using the default context.

Unfortunately, I don't have the exact syntax on me at the moment (I
will when I go to work tomorrow if you haven't resolved this by then).

It's an attribute of the Context or DefaultContext element, something
like this:

    <Context cookies="true">

This will automatically enable cookies with browsers that support/allow
them.

Dhruva

--- Paul Legato <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a client who is requiring that I turn off all the 
> ;jsessionid=abc123etc. session persistance tags in the URL rewriting.
> 
> Unfortunately, I can't find any documentation on how to do this. 
> 
> Is there an easy way to disable these tags across an entire
> application 
> (preferably without forking the Struts code)?
> 
> Thanks,
> -Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to