Session Cookie problem with Apache, Tomcat, mod_jk, mod_rewrite.

2004-10-21 Thread Brendan Colthurst
I apologize if this is the wrong list, but I think it should be the right one. Tomcat writes session cookies with the webapp name in the cookie's path field, but I map URLs by domain to hide the webapp name, with mod_rewrite. So my sessions ain't stickin', 'cause the browser does not know to send

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-28 Thread Ben Souther
BTW: You can also run into this problem with MSIE. If you start a new instance of MSIE from taskbar or the icon on the desktop, it will run with it's own session cookie. If, however, the user starts a new instance with ctl+n or by using file - new window then both instances share the same

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Adam Hardy
This whole question about sharing the session cookies or not when you open a new window seems a bit unnecessary to me. I often want to test using two users and not share the cookies, but I just open a different browser, e.g. if I'm using Mozilla, I open IE or Netscape4 or Firebird or Opera. So

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Mario Ivankovits
Hello ! This whole question about sharing the session cookies or not when you open a new window seems a bit unnecessary to me. I often want to test using two users and not share the cookies, but I just open a different browser, e.g. if I'm using Mozilla, I open IE or Netscape4 or Firebird or

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Adam Hardy
On 11/27/2003 10:57 AM Mario Ivankovits wrote: Hello ! This whole question about sharing the session cookies or not when you open a new window seems a bit unnecessary to me. I often want to test using two users and not share the cookies, but I just open a different browser, e.g. if I'm using

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Mario Ivankovits
Adam Hardy wrote: Are you sure about that? Without checking, I think that the jsessionid cookie would be stored under the directory http://www.mydomain.com/myapp1/ and the next app on the same server should have it at http://www.mydomain.com/myapp2/ Well, this might be, but our application was

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Adam Hardy
On 11/27/2003 12:22 PM Mario Ivankovits wrote: If i start Excel two times, i also have to know which excel is what sheet. I think this is something which a user, who uses this feature, is familiar with. And mostley then, the are in different sections of the application, or, the would like to

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-27 Thread Tim Funk
The simple kludge is to utilize multiple names for the same tomcat instance. http://i.mycompany.com/webapp1/ http://need.mycompany.com/webapp1/ http://more.mycompany.com/webapp1/ http://cowbell.mycompany.com/webapp1/ And all you need to do is mess with your /etc/hosts file. (Or

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-26 Thread Mario Ivankovits
Just for the records: Someone on mozillazine told me, this is an open bug/enhancement http://bugzilla.mozilla.org/show_bug.cgi?id=117222 Maybe we should vote on it. Ciao, Mario smime.p7s Description: S/MIME Cryptographic Signature

Re: [OT] Mozilla/Firebird and Session Cookie Problem (Mozilla-BUG)

2003-11-26 Thread Antonio Fiol Bonnín
What is the behaviour on other browsers? (MSIE, Opera, ...) Antonio Fiol Mario Ivankovits wrote: Just for the records: Someone on mozillazine told me, this is an open bug/enhancement http://bugzilla.mozilla.org/show_bug.cgi?id=117222 Maybe we should vote on it. Ciao, Mario

[OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Mario Ivankovits
Hello ! For sure, not the right mailinglist, but maybe someone has experienced the same: If i use Firebird 0.7 (Windows) to connect to our Tomcat 4.1.24 Server, a new session cookie is retrieved. So long, this is correct But if i start a second instance of Firebird (not tabbed !!!), the

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Ben Souther
I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? On Tuesday 25 November 2003 06:49 am, you wrote: Hello ! For sure, not the right

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Mario Ivankovits
Ben Souther wrote: I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? I havent found profiles in firebird, but i am pretty sure,

Re: [OT] Mozilla/Firebird and Session Cookie Problem

2003-11-25 Thread Adam Hardy
On 11/25/2003 01:45 PM Mario Ivankovits wrote: Ben Souther wrote: I'm not that familiar with Firebird, but I know that Mozilla allows you to create different profiles, each having it's own space for storing cookies. Have you tried running two instances with different profiles? I havent found

Re: cookie problem

2003-08-14 Thread Jon Wingfield
As Andy remarked: the call request.getCookies(); should return null if there are no cookies submitted. This behaviour is specified in the JavaDocs for both the Servlet 2.2 and 2.3 specs. Tomcat 3 was in error and the behaviour has been corrected for Tomcat 4 and later. HTH, Jon Paul wrote:

cookie problem

2003-08-14 Thread Paul
I hava a JSP application under Tomcat 4.1.24, jdk 1.4, running as service on win2k currently in standalone mode. The default index.jsp page checks for cookie that has not yet been set. Under Tomcat 3.x (jdk 1.2), this cookie checking does not generate an error; however, under Tomcat 4 it

Re: cookie problem

2003-08-14 Thread Paul
thank you. That worked. -paul lomack - Original Message - From: Bodycombe, Andrew [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 12:14 PM Subject: RE: cookie problem The request.getCookies() will return null if no cookies were sent

RE: cookie problem

2003-08-14 Thread RANDAD,KAILASH (HP-PaloAlto,ex1)
Just put one more check if(cookies.length==0) return;//OR whatever you want to do when no cookie is there.. :) -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 9:13 AM To: Tomcat Users List Subject: cookie problem I hava a JSP application under

RE: cookie problem

2003-08-14 Thread Brian Menke
); // cookie not found }else response.sendRedirect(index.jsp); // cookie found -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 9:13 AM To: Tomcat Users List Subject: cookie problem I hava a JSP application under Tomcat 4.1.24, jdk 1.4, running as service

RE: cookie problem

2003-08-12 Thread Bodycombe, Andrew
The request.getCookies() will return null if no cookies were sent with the request. You should check that cookies != null before checking cookies.length -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 17:13 To: Tomcat Users List Subject: cookie problem I

RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
different between OC4J and TomCat? Euclides. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 1 de agosto de 2003 12:22 Para: 'Tomcat Users List' Assunto: RES: Cookie problem max age problem - Best practice to solve it Assunto: Re: RES: Cookie

Re: RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread srevilak
one information isnt right! First, using Sniffer to monitor all http traffic, i found out one important news: the authentication app's plugin works with Session object instead of Cookie object. What kind of information would you like to receive about it? Does Session object work different

RES: RES: Cookie problem max age problem - Best practice to solve it

2003-08-04 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thanks, Steve. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 4 de agosto de 2003 11:52 Para: 'Tomcat Users List' Assunto: Re: RES: Cookie problem max age problem - Best practice to solve it one information isnt right! First, using

RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread Jose Euclides da Silva Junior - DATAPREVRJ
-feira, 31 de julho de 2003 09:32 Para: '[EMAIL PROTECTED]' Assunto: Re: Cookie problem max age problem - Best practice to solve it From: Jose Euclides da Silva Junior - DATAPREVRJ Subject: Cookie problem max age problem - Best practice to solve it this question is very important to me. My

Re: RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread srevilak
srevilak Setting the max age of a cookie to zero is the proper way to srevilak delete a cookie. When doing the deletion, are you sure that srevilak the name, domain, and path values are identical to the ones srevilak used when the cookie was initially set? jose Thanks for your attention! The

RES: RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread Jose Euclides da Silva Junior - DATAPREVRJ
and open another one to be sucessful. Needing help still. Regards, Euclides. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 1 de agosto de 2003 10:11 Para: 'Tomcat Users List' Assunto: Re: RES: Cookie problem max age problem - Best practice

RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread srevilak
Assunto: Re: RES: Cookie problem max age problem - Best practice to solve it the authentication app's plugin wasnt created by me, its only stored on TomCat to be used by my Java app. This plugin runs together with another app server, which completes the authentication process. After

Re: Cookie problem max age problem - Best practice to solve it

2003-07-31 Thread srevilak
From: Jose Euclides da Silva Junior - DATAPREVRJ Subject: Cookie problem max age problem - Best practice to solve it this question is very important to me. My application works with an external authentication app ( like a plugin).When the user is logged, a browser cookie is created

Cookie problem max age problem - Best practice to solve it

2003-07-30 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, this question is very important to me. My application works with an external authentication app ( like a plugin).When the user is logged, a browser cookie is created. The problem stays whenever the user asks for a logout process and the external app tries to kill its cookie (created

Cookie problem with Tomcat 4.1.24

2003-05-28 Thread basebeans
Hello tomcat-ians, I am getting 'InvalidArgumentException' when I add a cookie to response object using response.addCookie() in a JSP file. This error is coming when the cookie has the characters comma(,), semi-colon(;) in the value. As for Cookies 0 version, these characters are not valid. As

Re: Cookie problem with Tomcat 4.1.24

2003-05-28 Thread Tim Funk
http://nagoya.apache.org/bugzilla/buglist.cgi?resolution=INVALIDresolution=WONTFIXbugidtype=includechfieldto=Nowproduct=Tomcat+4short_desc=cookieshort_desc_type=allwordssubstrbug_file_loc_type=allwordssubstrkeywords=keywords_type=anywordsfield0-0-0=nooptype0-0-0=noopvalue0-0-0=cmdtype=doit The

HELP!: Cookie problem on linux

2003-03-03 Thread Henrik W. Hansen
Hi All, I have spend contless hours debugging a cookie problem. I have made another post on to the forum, with no success even though some suggestions came up. The plain and simple problem that I have are the following. With the following code I set a cookie a windows installation

Cookie problem on Redhat 7.3 and tomcat 4.1.18

2003-02-22 Thread Henrik W. Hansen
Hi all I am having problems setting a cooike on a RedHat 7.3 with tomcat 4.1.18 and JDK141_01. The thing is, that I am able to read and write cookies on the same configuration on a WinXP. The code setting the cookie is: Cookie userVote = new Cookie(havepolled, somethingmeaningfull);

Global Logger-Cookie Problem

2002-08-28 Thread Charles Swarts
looked through the archive and couldn't find an answer, so heres my question: I use the following in my server.xml to write my logs: Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true / Valve

Re: Global Logger-Cookie Problem

2002-08-28 Thread Tim Funk
If apache is doing your logging, the adding %{Cookie}i to your access log directive will do the trick. In apache 2.0 - the regular access log module can also write out specific cookies. (I think) If you logging via tomcat only - then you are out of luck. (Until a patch is submitted) Charles

Cookie problem with nsapi_redirector.so and netscape server 3.6

2002-04-10 Thread DLewis
Last year, there was a posting regarding problems with using Tomcat and Netscape Enterprise Server 3.6 using nsapi_redirector.so: http://w6.metronet.com/~wjm/tomcat/2000/Jun/msg00095.html I didn't see any answers in archive on this issue or for this thread relative to my problem. I am having a

Re: Cookie problem with nsapi_redirector.so and netscape server 3.6

2002-04-10 Thread DLewis
PROTECTED] | | cc: | | Subject: Cookie problem

setMaxAge getMaxAge cookie problem

2002-02-08 Thread Hammonds Nicholas
Hello there, I don't know if this is off topic for this list but I will ask anyway. I written two java servlets which I am running on tomcat 4.0. One servlet creates cookies, the other displays details about them. One thing I have done is to use the setMaxAge method on a cookie object. But

Re: setMaxAge getMaxAge cookie problem

2002-02-08 Thread Christopher K. St. John
Hammonds Nicholas wrote: One thing I have done is to use the setMaxAge method on a cookie object. But when I interrogate the cookie using getMaxAge in the other servlet the value is always -1 reagardless of what I originaly set it to. It's not Tomcat-specific, that's how it's supposed

Re: setMaxAge getMaxAge cookie problem

2002-02-08 Thread Craig R. McClanahan
On Fri, 8 Feb 2002, Hammonds Nicholas wrote: Date: Fri, 8 Feb 2002 12:33:07 +0100 From: Hammonds Nicholas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: setMaxAge getMaxAge cookie problem Hello there, I don't know

Accent and cookie problem

2002-01-07 Thread Eric LOEW
Hi, I'm a system administrator for my company. I have install and configure a tomcat 3.3-2 on a debian linux box (Woody 3.0), and have a problem with European special characters (é, è, ê, ...) and the cookie library. Extract code : In a servlet, we do : cookie = new Cookie(FirstName,

JSP cookie problem

2001-10-19 Thread Paul Stearman
I am creating a site which almost entirely is made up of JSPs. On the loin page i want to write some information (use id, database connection id, etc) into a cookie. I am forwarding the page onto the next one using a javascript function which in turn calls window.location.href. (this is due to

Cookie Problem

2001-04-25 Thread Shravan Shashikant
Hi there, I have a problem using Cookies in my servlet.I am able to create the cookie and log in but then I have an option where I ask the user if he wanst to save his password and there I write a cookie for say 9 days.But when he wnts to logut ,I execute the following code. out=

RE: Cookie Problem

2001-04-25 Thread Nael Mohammad
set your cookie age to -1 -Original Message- From: Shravan Shashikant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 12:15 PM To: [EMAIL PROTECTED] Subject: Cookie Problem Hi there, I have a problem using Cookies in my servlet.I am able to create the cookie and log

Re: Cookie problem max age problem

2000-12-05 Thread Kief Morris
Pratik Machchar typed the following on 05:57 PM 12/5/2000 +0530 I set a cookie with certain maxAge() say 200. now on logout I wan't to remove that cookie I set maxAge(0) then also this cookis is not removed Are you getting the cookie with request.getCookies() and changing its maxAge, or

Re: Cookie problem max age problem

2000-12-05 Thread Pratik Machchar
- Original Message - From: "Kief Morris" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 8:10 PM Subject: Re: Cookie problem max age problem Pratik Machchar typed the following on 05:57 PM 12/5/2000 +0530 I set a cookie with certain maxAge() say