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
, 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. Tomcat is fronted with Apache 2.2 and I’m using mod_proxy_http.
Both applications are wap sites.
I’ve been trying to
-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)
Peter Crowther wrote:
From: Andromeda Mobile [mailto:andromedamob...@gmail.com]
I tried moving the include to the head of my document but this does
not appear to have made any difference. Must it be in the head or
should it be even above this?
Ideally it would be wherever AdMob's documentation
> From: Andromeda Mobile [mailto:andromedamob...@gmail.com]
> I tried moving the include to the head of my document but this does
> not appear to have made any difference. Must it be in the head or
> should it be even above this?
Ideally it would be wherever AdMob's documentation says it should ap
I tried moving the include to the head of my document but this does
not appear to have made any difference. Must it be in the head or
should it be even above this?
On Wed, Mar 11, 2009 at 2:16 PM, David Smith wrote:
> Cookies are sent in the header and tomcat does not wait for the entire
> body o
Cookies are sent in the header and tomcat does not wait for the entire
body of the response before starting to send. It just waits for a
buffer to fill up and sends as soon as that occurs. You should be
setting the cookie asap or at least before the first block of response
goes out on the wire.
Hi Peter
The include is actually in the body of the document, right at the
bottom! The thing is the code creates a pixel image and so i wanted to
put this in an area which would not impact the rest of the page. So
should the include be in the head? Do you think this could be the
cause?
Regards
Mi
> From: Michael Farah
> The Admob code is a JSP file named AdMob.jsp that is imported
> into each page
> of our webapp via this code snippet
>
[...]
> response.addCookie(c);
Just a thought... where's your include? In order to add the cookie (which must
go in the header), I think no bytes
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
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:
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
Hi all
I’m running two web apps off a single instance of Tomcat 6.0.1.8 on a
CentOS 64 bit OS. Tomcat is fronted with Apache 2.2 and I’m using
mod_proxy_http. Both applications are wap sites.
I’ve been trying to implement an analytics solution provided by Admob.
The solution uses a pixel image in
Hi all
Im running two web apps off a single instance of Tomcat 6.0.1.8 on a CentOS
64 bit OS. Tomcat is fronted with Apache 2.2 and Im using mod_proxy_http.
Both applications are wap sites.
Ive been trying to implement an analytics solution provided by Admob. The
solution uses a pixel image in
14 matches
Mail list logo