Re: Fwd: Cookie not being set

2009-03-13 Thread André Warnier
Andromeda Mobile wrote: Thanks guys for your help. By moving the jsp include to the head of the document I was able to get the set cookie working so it was to do with the fact that the cookie needed to be sent before any other output was streamed. Just my didactic streak at play : Think of it

Fwd: Cookie not being set

2009-03-12 Thread Andromeda Mobile
Thanks guys for your help. By moving the jsp include to the head of the document I was able to get the set cookie working so it was to do with the fact that the cookie needed to be sent before any other output was streamed. -- Forwarded message -- From: Michael Farah Date: Mon, M

Re: Fwd: Cookie not being set

2009-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 3/11/2009 7:37 AM, Andromeda Mobile wrote: > [snip] > Cookie c = new Cookie("admobuu", value); > c.setMaxAge(60*60*24*365*20); > c.setPath("/"); > if (cookieDomain != null) { > if (cookieDomain.charAt(0)

Fwd: Cookie not being set

2009-03-11 Thread Andromeda Mobile
There was a typo in the code below which has now been corrected -- Forwarded message -- From: Michael Farah Date: Mon, Mar 9, 2009 at 7:58 AM Subject: Cookie not being set To: users@tomcat.apache.org Hi all I’m running two web apps off a single instance of Tomcat 6.0.1.8 on a

Fwd: Cookie not being set

2009-03-11 Thread Andromeda Mobile
My apologies for re-submitting this but I'm getting a little desperate here. If no one here can assist can anyone suggest where else I could go for help? -- Forwarded message -- From: Michael Farah Date: Mon, Mar 9, 2009 at 7:58 AM Subject: Cookie not being set To: users@tomcat.a

Fwd: Cookie not being set

2009-03-09 Thread Andromeda Mobile
Does anyone have any idea on the query below? -- Forwarded message -- From: Michael Farah Date: Mon, Mar 9, 2009 at 7:58 AM Subject: Cookie not being set To: users@tomcat.apache.org Hi all I’m running two web apps off a single instance of Tomcat 6.0.1.8 on a CentOS 64 bit OS.