Re: Session problem

2010-08-27 Thread Hisham
Yeah i found that through google! Thanks pid and chuck! -h On Fri, Aug 27, 2010 at 1:25 PM, Caldarale, Charles R wrote: >> From: Hisham [mailto:mohis...@gmail.com] >> Subject: Re: Session problem > >> how would i generate it since theres no >> exception that'

RE: Session problem

2010-08-27 Thread Caldarale, Charles R
> From: Hisham [mailto:mohis...@gmail.com] > Subject: Re: Session problem > how would i generate it since theres no > exception that's been thrown? Standard API call: Thread.dumpStack(). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MAT

Re: Session problem

2010-08-27 Thread Pid
On 27/08/2010 18:16, Hisham wrote: > Hi Chris, sorry for the late reply > > In your listener, why don't you dump a stack trace when a session >> attribute is removed? That will let you know where the code is that is >> removing your attributes. You may be surprised. Thread.dumpStack(); p > Th

Re: Session problem

2010-08-27 Thread Hisham
Hi Chris, sorry for the late reply In your listener, why don't you dump a stack trace when a session > attribute is removed? That will let you know where the code is that is > removing your attributes. You may be surprised. This would be very useful, but how would i generate it since theres no e

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 11:07 AM, Hisham wrote: > Let me rephrase what I said: I am not using any custom cookies, the > JsessionID cookie gets created by default. That makes a lot more sense. > So i created an HttpSessionAttributeListener listener. An

Re: Session problem

2010-08-25 Thread Hisham
Chris, Let me rephrase what I said: I am not using any custom cookies, the JsessionID cookie gets created by default. So i created an HttpSessionAttributeListener listener. And what i observed is truly weird. Once i click on Messages tab, the request goes through fine, there are a couple of ima

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 9:55 AM, Hisham wrote: >> 1. Are you using cookies? If you don't properly encode all the URLs in >> your webapp, you could be losing session information when cookies are >> /not/ being used. It sounds like you are using cookies, t

Re: Session problem

2010-08-25 Thread Hisham
Btw, Jason, I have verified that the domain is the same. -h On Wed, Aug 25, 2010 at 9:55 AM, Hisham wrote: > Chris, thanks for your reply! > >> 1. Are you using cookies? If you don't properly encode all the URLs in >> your webapp, you could be losing session information when cookies are >> /no

Re: Session problem

2010-08-25 Thread Hisham
Chris, thanks for your reply! > 1. Are you using cookies? If you don't properly encode all the URLs in > your webapp, you could be losing session information when cookies are > /not/ being used. It sounds like you are using cookies, though, given > your statement about using Firebug to read the he

Re: Session problem

2010-08-25 Thread Stephen Caine
Jason, I was referring to an issue where a user opens several tabbed references to the same window. If the session value is changed in one window, the value will change in subsequent references in the other tabbed window(s). Actually, this is significant problem, but if this is not what was b

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/24/2010 10:30 PM, Hisham wrote: > Jason, you're right in that the tabs i was referring to were tabs > within my application. I will verify tomorrow whether the domain is > different, but i seriously doubt it. I have a few other things y

Re: Session problem

2010-08-24 Thread Hisham
Jason, you're right in that the tabs i was referring to were tabs within my application. I will verify tomorrow whether the domain is different, but i seriously doubt it. Thanks for you reply. -h On Tue, Aug 24, 2010 at 8:06 PM, Jason Britton wrote: > Stephen - your statement doesn't really

Re: Session problem

2010-08-24 Thread Jason Britton
Stephen - your statement doesn't really make sense in context to the problem he described or how I replied. From Hisham's first post I believe he's describing tabs within the context of a single web page interface, when he clicks on any of the three tabs a request is made (asynchronous or otherwis

Re: Session problem

2010-08-24 Thread Stephen Caine
Jason, As each window shares the same session, a change to the session value in one window will effect the session value in the others. Stephen Caine On Aug 24, 2010, at 5:21 PM, Jason Britton wrote: > I would make sure that the link for your "Messages" tab is going to the same > domain as tha

Re: Session problem

2010-08-24 Thread Jason Britton
I would make sure that the link for your "Messages" tab is going to the same domain as that your session was established under and is hitting the same domain as your "Home" and "Admin" links. This doesn't seem to have anything to do with Tomcat though. On Tue, Aug 24, 2010 at 1:53 PM, Hisham wr

Re: session problem in Tomcat server when system date changes.

2009-09-03 Thread Mark Thomas
Nagineni wrote: > Hi, > > I'm quite surprise to see this issue in the tomcat server.While running the > application ,I've changed my system date ahead a day.I observed that tomcat > server started creating new session for the same client. > > Any pointers on this to resolve ?Please help me. Sess

RE: session problem

2005-10-21 Thread Mauricio Fernandez A.
19:32 Para: Tomcat Users List Asunto: RE: session problem Hi Mauricio, It is really weired that after 2 weeks failuer, this morning it works! I did not change a single code but it works now. Also I did not change any system configuration related with network and any other enviorenment. Yesterday

Re: session problem

2005-10-21 Thread David Won
Hi Tim, My project suddenly works today, I am really confused about this problem. As for your solution, I always use the same PC's browser to access the problem-PC's project, so I guess this has nothing to do with the browser in that PC, right? Thank you very much. David Tim Funk <[EMAIL

RE: session problem

2005-10-21 Thread David Won
Hi Mauricio, It is really weired that after 2 weeks failuer, this morning it works! I did not change a single code but it works now. Also I did not change any system configuration related with network and any other enviorenment. Yesterday the session did not work, now because it works I even c

Re: session problem

2005-10-21 Thread Tim Funk
Cookies might be blocked on the other pc's browser -Tim David Won wrote: I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute("my","abc"); In jsp: String mystring = (String) session.getAttribute("my"); This project works perfect in one of m

RE: session problem

2005-10-21 Thread Mauricio Fernandez A.
David, try this: In Servlet: request.getSession().setAttribute("my","abc"); In jsp: String myString = (String)request.getSession().getAttribute("my"); Mauricio Fernández A. Ingeniero de Sistemas U. Autónoma de Manizales -Mensaje original- De: David Won [mailto:[EMAIL PROTECTED] E