Re: Cookies in Tomcat 5.5.7

2005-02-16 Thread Tim Funk
getPath() in only useful for setting cookies. The browser only sends the name /value pairing of the cookie back to you. It omits path and expiration. -Tim Trond G. Ziarkowski wrote: Hi all! I'm making a filter that checks that my cookies are set, and sets them if they are missing. Code for

Re: Cookies in Tomcat 5.5.7

2005-02-16 Thread Trond G. Ziarkowski
Thanks Tim, I was trying to use the same cookiename for different paths in my webapp, but since the path is not sent I just have to use different cookienames. Trond Tim Funk wrote: getPath() in only useful for setting cookies. The browser only sends the name /value pairing of the cookie back

Re: Cookies in Tomcat 5.5.7

2005-02-16 Thread Tim Funk
All is not lost. The cookie spec says that overlapping cookie names need to be sent from most specific to least specific. But if you have the same cookie name across many domains (foo.domain.com vs bar.domain.com) - then things get a little ambiguous. -Tim Trond G. Ziarkowski wrote: Thanks

RE: cookies problem with Tomcat 4.1.30

2004-10-25 Thread Steve Kirk
I haven't experience this myself, but as no-one else has responded yet, here are some thoughts that come to mind in case they help :-) Perhaps the session associated with cookie C1 has expired by the time that Tomcat receives the request that contains C1? Then, if your code uses

Re: cookies problem with Tomcat 4.1.30

2004-10-25 Thread Mark
Hey, Is proxy involved on client's side ? -Mark. --- Todor Todorov [EMAIL PROTECTED] wrote: Hello there, We experienced strange behavior with Tomcat under heavy load. Fairly simple JSP generates a page based on a persistent cookie, unfortunately the browser receives someone else

RE: cookies and sessions

2004-02-24 Thread Mike Curwen
-Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 11:37 AM To: Tomcat user list Subject: cookies and sessions could someone give me a process flow description of how cookies work, i.e., 1)user authenticates - what is actually

RE: cookies, Safari, and Tomcat

2004-02-11 Thread Shapira, Yoav
Howdy, How do you know it's not a Safari bug? Yoav Shapira Millennium ChemInformatics -Original Message- From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 3:09 PM To: Tomcat Users List Subject: cookies, Safari, and Tomcat I'm trying to figure out

Re: cookies, Safari, and Tomcat

2004-02-11 Thread Aadi Deshpande
Hollerman Geralyn M wrote: I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25 - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the server for use later on;

Re: cookies, Safari, and Tomcat

2004-02-11 Thread Hollerman Geralyn M
Aadi Deshpande wrote: Hollerman Geralyn M wrote: I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25? - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the

Re: Cookies.

2003-12-08 Thread Christopher Schultz
Abdul, So, I have added the cookies value in servlet, and I can get the cookie value in jsp. When I work with the same browser fine working. But when close and open the new browser window I cant get the cookie values. Setting cookie, res.addCookie(new Cookie(entID,eID));

Re: Cookies.

2003-12-08 Thread Graham Reeds
I checked the javadoc documentation for the Cookie class, and it doesn't seem to mention the default life of a Cookie object once sent to the browser. I'm inclined to think that the default is that it will live as long as the browser session does (especially because of your evidence). It is.

RE: Cookies

2003-11-21 Thread Mark Tebong
thank you patrick. that worked. I assumed a cookie once set was available for the all files in that location. Is it the same for sessions? -Original Message- From: Patrick Willart [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 5:21 PM To: Tomcat Users List Subject: RE

RE: Cookies

2003-11-20 Thread Patrick Willart
Since you don't specify the path when you write the cookie it's in /app/servlet. This means that this cookie can only be read by pages/servlets in this directory or subdirectories. Your JSP is in a different directory structure and is not allowed to read the cookie you wrote. add

RE: Cookies

2003-01-13 Thread Luc Foisy
Paul Yunusov [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday 10 January 2003 04:23 pm, Luc Foisy wrote: Is the Cookie defined in the Servlet API permanent by default? It doesnt really say that in the docs. You might be able to assume that

RE: Cookies

2003-01-13 Thread Luc Foisy
Paul Yunusov [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday 10 January 2003 04:23 pm, Luc Foisy wrote: Is the Cookie defined in the Servlet API permanent by default? It doesnt really say that in the docs. You might be able to assume

Re: Cookies

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 04:23 pm, Luc Foisy wrote: Is the Cookie defined in the Servlet API permanent by default? It doesnt really say that in the docs. You might be able to assume that since you have a setMaxAge() method, but if you want to change it back to permanent, there would be no way

Re: Cookies

2003-01-10 Thread Bill Barker
Paul Yunusov [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday 10 January 2003 04:23 pm, Luc Foisy wrote: Is the Cookie defined in the Servlet API permanent by default? It doesnt really say that in the docs. You might be able to assume that since you

Re: Cookies and tomcat (URGENT PLEASE!)

2002-04-07 Thread Daniel Hinojosa
paolo ciao wrote: I know that servlet use cookies (if client support it) to manage session id. My question is quite simple: where this cookie is? I need to understand this because I have to test my application with Jmeter and I want to track session...how can i do? Thanks for any help.

RE: cookies problems

2002-01-08 Thread Jeff Macomber
Kyller, I am using 4.0.1 on Linux (RH7.1) with cookies. I add a custom cookie for tracking which server behind the CSS is being accessed and this works fine. I initially had difficulty seeing the cookie on the client side so I ended up dumping the raw request to the console and viewing it. One

Re: cookies problems

2002-01-08 Thread Kyller Costa Gorgonio
Hi Jeff, I'm running on Red Hat 7.2. I think that it's not the reason of my problem :-) I got the same problem before writting the previus message, and fixed it in the same way. But it still working only if my client is a mozilla browser running on a linux machine. If the client is an

Re: Cookies in tomcat-3.2.3

2001-12-26 Thread Eskimoe
On Mon, 24 Dec 2001 14:41:20 +0100 Wouter Boers [EMAIL PROTECTED] wrote: That is not true. Then you have to pass the session cookie as a parameter through URL rewriting. You see that quite often. But then again, who does not accept cookies nowadays? Many people, including myself. The point

Re: Cookies in tomcat-3.2.3

2001-12-24 Thread ian silvester
yes it does so no you can't. ditto tomcat 4 - cookies is the only reliable method for identifying an individual computer, so is therefopre the only method for managing sessions. ian - Original Message - From: Zsolt Koppany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

Re: Cookies in tomcat-3.2.3

2001-12-24 Thread Zsolt Koppany
Hm, when a browser (or firewall) doesn't allow Cookies, I cannot use seesions. This is not good. Zsolt On Monday 24 December 2001 09:25 am, you wrote: yes it does so no you can't. ditto tomcat 4 - cookies is the only reliable method for identifying an individual computer, so is therefopre

RE: Cookies in tomcat-3.2.3

2001-12-24 Thread Wouter Boers
To: Tomcat Users List Subject: Re: Cookies in tomcat-3.2.3 Hm, when a browser (or firewall) doesn't allow Cookies, I cannot use seesions. This is not good. Zsolt On Monday 24 December 2001 09:25 am, you wrote: yes it does so no you can't. ditto tomcat 4 - cookies is the only reliable method

Re: Cookies in tomcat-3.2.3

2001-12-24 Thread Pae Choi
Cookie can be one of the available methods, but I am not certain it is only method for that purpose. Pae yes it does so no you can't. ditto tomcat 4 - cookies is the only reliable method for identifying an individual computer, so is therefopre the only method for managing sessions. ian

Re: Cookies.

2001-09-24 Thread Mikael Aronsson
I have no idea, but could it have something to do with \or\n - \n conversion somewhere maybe ? Mikael - Original Message - From: James, Stuart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 24, 2001 4:57 PM Subject: Cookies. Development Machine is Tomcat-3.2.3 /

Re: Cookies.

2001-09-24 Thread Brendan McKenna
Hi, [EMAIL PROTECTED] said: : I am sending a cookie of 6402 bytes from Internet Explorer to tomcat, : but tomcat tell's me that the received length is 5095 bytes ? : The data is a very simple strings (comma separated values) the strings : are escaped/unescaped before sending. You're

RE: Cookies and IE5.5

2001-08-17 Thread Martin van den Bemt
If it returns null, then I read something about that this week.. Maby searching on of the archives for cookies helps you find the problem / solution... Also tomcat version could be important and the exception (if any..) Mvgr, Martin -Original Message- From: David Oxley [mailto:[EMAIL

Re: Cookies and IE5.5

2001-08-17 Thread Tim O'Neil
At 08:28 AM 8/17/2001, you wrote: I am trying to set a cookie that can be picked up from a different server to the one setting it. They both belong to the same domain (daves.domain.com and daves2.domain.com). The first server sets the cookie and redirects to the second server where the cookie is

RE: Cookies

2001-05-17 Thread William Kaufman
(I'm not sure what this question has to do with cookies,...) I use JDBCRealm and I'd like to have the connection times out after a certain period of time. Currently, it seems that once you have logged in, as long as you don't exit from your browser, the servlets can be run forever. Is there

Re: Cookies

2001-05-17 Thread Jeff Kilbride
Look at the session-timeout directive in your web.xml file. The default is 30 minutes. --jeff - Original Message - From: Oki DZ [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:26 PM Subject: Cookies Hi, I use JDBCRealm and I'd like to have the connection

Specification Question RE: Cookies

2001-04-27 Thread Anne Dirkse
Hi all -- I have a question regarding cookie expiriation. I am trying to expire a cookie immediately, and the Servlet Specification (and javadoc) states that: Cookie's public void setMaxAge(int expiry) Sets the maximum age of the cookie in seconds. A positive value indicates that the