RE: SESSION PROBLEM in UNIX

2004-04-23 Thread MUKUND Premchander
variable becoming null..any specific settings that I need to check ? -Original Message- From: MUKUND Premchander [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 12:23 PM To: Tomcat Users List Subject: RE: SESSION PROBLEM in UNIX Hi, Thank you for your inputs. I couldn't implement

RE: SESSION PROBLEM in UNIX

2004-04-23 Thread Yansheng Lin
message. -Yan -Original Message- From: MUKUND Premchander [mailto:[EMAIL PROTECTED] Sent: April 23, 2004 04:49 To: Tomcat Users List Subject: RE: SESSION PROBLEM in UNIX HI , Any suggestions on the problem reported below .I would like to add another point that this works perfectly in Linux

RE: SESSION PROBLEM in UNIX

2004-04-23 Thread Yansheng Lin
Forgot to include the line: request.getSession.invalidate(); should be sufficient, I hope. -Yan -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: April 23, 2004 10:08 To: 'Tomcat Users List' Subject: RE: SESSION PROBLEM in UNIX Hi Good. You are making progress

RE: SESSION PROBLEM in UNIX

2004-04-21 Thread MUKUND Premchander
, 2004 7:53 PM To: Tomcat Users List Subject: Re: SESSION PROBLEM in UNIX MUKUND Premchander wrote: I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion I did try and implement HttpSessionBindingListener and put the object into the session in the same jsp , the valueBound

RE: SESSION PROBLEM in UNIX

2004-04-20 Thread MUKUND Premchander
Subject: Re: SESSION PROBLEM in UNIX MUKUND Premchander wrote: Thank you for your reply . I use IE 6 as my browser in windows and tomcat on HP unix. I meant that ,all I did was open a browser window load my application, goto a particular page Set page to refresh for every 10 secs

Re: SESSION PROBLEM in UNIX

2004-04-20 Thread Veniamin Fichin
MUKUND Premchander wrote: I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion I did try and implement HttpSessionBindingListener and put the object into the session in the same jsp , the valueBound was called but when the session access threw null pointer exception valueUnbound

RE: SESSION PROBLEM in UNIX

2004-04-15 Thread Martin Alley
Subject: RE: SESSION PROBLEM in UNIX hi, Thank you for your reply and suggestion . I have only one user and one browser window and I get this problem . I also like to mention that in the starting of the JSP if I added a line of code like session = request.getSession(false), then I don't get

RE: SESSION PROBLEM in UNIX

2004-04-15 Thread MUKUND Premchander
Users List' Subject: RE: SESSION PROBLEM in UNIX Do you know how the session is being tracked in the browser? Cookie, url? Are you saying you use the same browser in each case? Can you log the http traffic? Martin -Original Message- From: MUKUND Premchander [mailto:[EMAIL PROTECTED

Re: SESSION PROBLEM in UNIX

2004-04-15 Thread Veniamin Fichin
MUKUND Premchander wrote: Thank you for your reply . I use IE 6 as my browser in windows and tomcat on HP unix. I meant that ,all I did was open a browser window load my application, goto a particular page Set page to refresh for every 10 secs( application had a combo box to set interval of

RE: SESSION PROBLEM in UNIX

2004-04-14 Thread Yansheng Lin
Hi, How about implementing HttpSessionListener so that you know when your session is getting created and destroyed? Also do you have multiple users running the same jsp? If you do, you may want to synchronize that block of code. Hope this helps:). -Yan -Original Message- From: MUKUND

RE: SESSION PROBLEM in UNIX

2004-04-14 Thread MUKUND Premchander
PROTECTED] Sent: Thursday, April 15, 2004 2:24 AM To: 'Tomcat Users List' Subject: RE: SESSION PROBLEM in UNIX Hi, How about implementing HttpSessionListener so that you know when your session is getting created and destroyed? Also do you have multiple users running the same jsp? If you do, you

RE: Session ... Problem

2003-07-01 Thread Shapira, Yoav
Howdy, Hmm... I was going to list a few things, and then I realize that I do it by feel. Maybe that'll work for you too: you'll know when you're putting too many things in the session. One thing to watch out for is Serializable: you should try to only put Serializable objects in the session.

Re: session problem with mod_jk

2002-12-05 Thread Tim Funk
The session cookie is probably NOT being propogated in IE's new window. If that is the case, then you need to add the session id to the url. (Via response.encodeURL( ... ) or response.encodeRedirectURL( ... )) Matthias Erche wrote: Hi all, We have 2 webapps running in this environment: -

Re: session problem with mod_jk

2002-12-05 Thread Matthias Erche
Hi Tim, thanks for your answer. The session cookie is probably NOT being propogated in IE's new window. If that is the case, then you need to add the session id to the url. (Via response.encodeURL( ... ) or response.encodeRedirectURL( ... )) That is not possible I think. I have to type in

Re: session problem with mod_jk

2002-12-05 Thread Matthias Erche
Hi Tom, Am Donnerstag, 5. Dezember 2002 13:44 schrieb Tim Funk: The session cookie is probably NOT being propogated in IE's new window. The cookie is being propagated. But it has a different content than this one that we get when using the warp connector. Why? -- To unsubscribe, e-mail:

RE: session problem with mod_jk

2002-12-05 Thread Price, Erik
-Original Message- From: Matthias Erche [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 7:34 AM To: [EMAIL PROTECTED] Subject: session problem with mod_jk [...] What we want to have (only with IE): - login to first webapp per ssl - open new browser window so

RE: session problem

2002-09-06 Thread Vincent . Gaboriau
What do you hear about the sessions aren't working? A user working just on the www.nut.com (for exemple) have no session? Or a user working on the www.nut.com loose his session when he's passing on the www.han.com? -Message d'origine- De : nuthankumar [mailto:[EMAIL PROTECTED]] Envoye :

Re: Session Problem - URGENT!!!!

2002-05-10 Thread Paul Caton
I wish people would stop saying URGENT and PLEASE HELP in their subject lines. Not only is is poor mailing-list manners, it is also unnecessary. This being a user list, we assume that most people posting have a problem they want to solve right away. Your problem is not more urgent than

RE: Session Problem - URGENT!!!!

2002-05-10 Thread Ignacio J. Ortega
+1 Saludos , Ignacio J. Ortega -Mensaje original- De: Paul Caton [mailto:[EMAIL PROTECTED]] Enviado el: viernes 10 de mayo de 2002 15:47 Para: Tomcat Users List Asunto: Re: Session Problem - URGENT I wish people would stop saying URGENT and PLEASE HELP

RE: Session Problem - URGENT!!!!

2002-05-10 Thread Jack Li
-1 -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:01 AM To: 'Tomcat Users List' Subject: RE: Session Problem - URGENT +1 Saludos , Ignacio J. Ortega -Mensaje original- De: Paul Caton [mailto:[EMAIL PROTECTED

Re: Session Problem - URGENT!!!!

2002-05-10 Thread Graham Leggett
Jack Li wrote: -1 -1 means veto, and is only used by people with a veto. So - do you have a veto, or are you just being a wiseass? ;) Regards, Graham -- - [EMAIL PROTECTED]There's a moon over

RE: Session Problem with Tomcat and Apache - URGENT - Please help!!!!

2002-05-10 Thread Martin van den Bemt
Do you actually create a session somewhere. Since you are only using request.getSession(). This will get the session if it is there, or null if it is not there. As safe bet is to use request.getSession(true); Mvgr, Martin -Original Message- From: Rajesh Harikrishnan

RE: Session Problem - URGENT!!!!

2002-05-10 Thread Jay Gardner
Hi Rajesh, Are you using JSP or servlet? In the JSP the session object is implicitly available to you. You do not need to set it up the same way that you do for a servlet. JSP Example: String myvalue = jgardner; session.setAttribute(username, username); Servlet Example: HttpSession session

Re: Session Problem

2001-09-20 Thread Lester June Cabrera
Try this one inside your JSP page... if (session.isNew()) { // do something } else { // ... String sessionUser = (String)session.getValue(username); // do something } At 04:17 PM 9/20/01 +0530, you

Re: Session problem with netscape-6.01

2001-06-28 Thread Boris Niyazov
Seems like your netscape-6.01 is not configured to enable cookies ... hth Boris Niyazov Columbia Law School On Wed, 27 Jun 2001, Zsolt Koppany wrote: Hi, I use tomcat-3.2.2 and every request seems to use (create) a new session from netscape-6.01. I don't have this problem with either

Re: Session problem with netscape-6.01

2001-06-28 Thread pete
Nah, i think it is a Netscape bug. I get this with all builds of Mozilla and Netscape after 0.9 It's odd because cookies from most servers/sites are set without a problem, and its only tomcat that i see the problem with. Mozilla 0.9 does work correctly with the same tomcat sites, so it's

RE: Session problem

2001-05-11 Thread Jann VanOver
Shouldn't that ; be a ? ?? -Original Message- From: Leon Nicholls [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 9:04 AM To: [EMAIL PROTECTED] Subject: Session problem Hi I am having weird problems with sessions when I disable cookies. If I have a link like

Re: Session problem

2001-05-11 Thread Dmitry Rogatkin
You do not need to apply encodeURL for regular URL not going through a servlet container. However, if unconditional.xml links to another part of your servlet, then you may loose your session. As a solution, you could write a file servlet and get your page as

Re: Session problem -- sessions being recreated, browser related?

2001-04-13 Thread Dave Ferguson
Hi Milt, I've been testing Tomcat recently and found something similar. Like you, I was successfully using ServletExec and switched to Apache/Tomcat. Suddenly sessions were getting lost for no apparent reason. It was happening for all browsers, not just IE 4 and it was happening on both

RE: Session problem -- sessions being recreated, browser related?

2001-04-04 Thread Milt Epstein
On Wed, 4 Apr 2001, Warren Crossing wrote: check ie.. it stores all cookies in a folder called cookies somewhere each cookie in a seperate file.. however theres an index.dat .. no idea what this does but you could delete it ( backup!! ) and all the cookies.. ( ??sorry?? but i've had this

RE: Session problem -- sessions being recreated, browser related?

2001-04-04 Thread Steven Carbone
uck, -Steven On Wed, 4 Apr 2001, Milt Epstein wrote: Date: Wed, 4 Apr 2001 14:34:27 -0500 (CDT) From: Milt Epstein [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: Session problem -- sessions being recreated, browser related?

Re: Session problem -- sessions being recreated, browser related?

2001-04-03 Thread Milt Epstein
On Tue, 3 Apr 2001, Jeff Kilbride wrote: Hi Milt, Are you using ajp12 or ajp13 as your connector protocol? Apparently, ajp13 has known bugs that cause dropped sessions. I got this from Mike Slinn after visiting his site (http://tomcat.mslinn.com) and noticing that he said "Tomcat v3.2.1

RE: Session problem with WAP protocol

2001-01-17 Thread Christopher Kirk
I cann't explain the error message with out knowing more about the code; but if you are trying to use cookies then that could be your problem. To my knowledge (and I will point out that I have never tried it; so hopefully somebody will back me up when I say that) WAP does not support cookies.

Re: Session problem with WAP protocol

2001-01-17 Thread Mauricio Nuñez
Message - From: "Christopher Kirk" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 10:18 AM Subject: RE: Session problem with WAP protocol I cann't explain the error message with out knowing more about the code; but if you are trying to use cookies then

Re: Session problem with WAP protocol

2001-01-17 Thread Grzegorz Skorupa
On Wednesday 17 January 2001 15:00, you wrote: Thanks! Wap support cookies. But you can't be sure that all wap browsers do. If you would like to prepare 100% available service, you must use url rewriting. IMHO. Regards Grzegorz Skorupa | [EMAIL PROTECTED] | http://pikosoft.and.pl | ICQ#:

Re: Session problem with WAP protocol

2001-01-17 Thread Mauricio Nuñez
Thanks. It's a better option. - Original Message - From: "Grzegorz Skorupa" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 10:19 AM Subject: Re: Session problem with WAP protocol On Wednesday 17 January 2001 15:00, you wrote: Thanks! Wap suppo

RE: Session problem with WAP protocol

2001-01-17 Thread Steven Newton
-Original Message- From: Grzegorz Skorupa [mailto:[EMAIL PROTECTED]] But you can't be sure that all wap browsers do. If you would like to prepare 100% available service, you must use url rewriting. IMHO. phone.com WAP browsers using the UP.link gateway insert a header

RE: Session problem with WAP protocol

2001-01-17 Thread Steven Newton
phone.com WAP browsers using the UP.link gateway insert a header "x-up-subno" that is unique per device. Instead of writing out Oh I forgot to also mention the Mobile Subscriber ISDN Number used by some phones works similarly via the X_Network_Info HTTP header. s

Re: Session Problem

2001-01-04 Thread Craig R. McClanahan
"Mohan K. Chintala" wrote: hi All, I am binding the session object with the username and storing it in a Hashtable. I want to check whether it is the same session or not, whenever an user logs in. I want to check whether the same user has already Logged In. Its working fine with

RE: Session Problem

2001-01-04 Thread Mike Campbell
Title: RE: Session Problem Craig (or anyone), You might want to turn your thinking inside out on how to handle this problem :-). I came in on this discussion thread mid-strand, and have a question. Your code snipped on session handling made perfect sense, and really made the session

Re: Session Problem

2001-01-04 Thread Craig R. McClanahan
Mike Campbell wrote: Craig (or anyone), > You might want to turn your thinking inside out on how to > handle this problem > :-). I came in on this discussion thread mid-strand, and have a question. Your code snipped on session handling made perfect sense, and really made the session-handling

RE: Session Problem

2001-01-04 Thread Kitching Simon
PROTECTED]] Sent: Thursday, January 04, 2001 8:36 PM To: '[EMAIL PROTECTED]' Subject: RE: Session Problem HttpSession session = request.getSession(true); session.setMaxInactiveInterval(300); Will set the timeout to 5 minutes (300 seconds). Jeff -Origin

RE: Session Problem

2001-01-04 Thread Michael Wentzel
Title: RE: Session Problem You can also set the server timeout in TOMCAT_HOME/conf/web.xml or in your individual webapp web.xml in the: session-config session-timeout 30 /session-timeout /session-config block. ---Michael WentzelSoftware DeveloperA HREF="http://www.aswethin

RE: Session Problem

2001-01-04 Thread Michael Wentzel
HttpSession session = request.getSession(); Also, the request.getSession() method is overloaded as request.getSession(boolean) with the boolean param specifying whether to create a new session if one does not exist, i.e. if request.getSession(false) is used a new HttpSession will not be