-
1. Re: Why are the session objects lost?
ggopal Nov 24, 2003 11:47 AM (in response to ggopal)I also would like to know the following:
1) Where are the default configurations for the session stored in jboss 3.2.2?
2) Under Win2k, where are the session objects stored? c:\documents and settings\... perhaps. I am not sure.
Thanks
-- Gopal -
2. Re: Why are the session objects lost?
ggopal Nov 24, 2003 12:50 PM (in response to ggopal)Ok, this is really weird.
My app works when use Mozilla Firebird.
It seems to have intermittnet session related problems in
1) IE 6 &
2) Mozilla
Not sure why this is happening. Any ideas will be highly appreciated.
Thanks
-- Gopal -
3. Re: Why are the session objects lost?
jonlee Nov 25, 2003 2:44 AM (in response to ggopal)Track your session ID through your process (maybe display it somewhere) - I'm assuming you don't traverse any static pages? No blocking of cookies?
-
4. Re: Why are the session objects lost?
ggopal Nov 26, 2003 10:04 AM (in response to ggopal)Hi jonlee:
Well, cookies are enabled (both IE & Mozilla/Netscape). This is weird. I wish I knew where it stores the cookies. I cannot see its location even with cookies manager option (managed stored cookies) and I am puzzled.
The puzzling thing is that it used to work on these browsers and all of a sudden it stopped working. I have tried shutting down jboss and restarting it, but, no help there. Initially, my thought was that maybe the cookie was corrupted and if I can delete it, then, it may work. But, I don't know the location of the cookies. I have turned on "alert me when storing a cookie" option and it shows me the jsession id and path as "/". But, don't know where "/" is located ...
It works very well under mozilla firebird.
-- Gopal -
5. Re: Why are the session objects lost?
jonlee Nov 26, 2003 6:50 PM (in response to ggopal)Try tracking it on the application side by printing out the ID for each page in your process. At least you'll get an idea of where the ID gets dropped or at least where a new session ID appears. That could help narrow it down.
-
6. Re: Why are the session objects lost?
jsurf Dec 4, 2003 2:33 AM (in response to ggopal)I had a problem loosing session objects with jboss 3.2.3 under Linux, too. Switched from Blackdown Linux 1.4 jre+jikes compiler to original Sun Java SDK 1.4.2+jikes compiler and now it works.
-
7. Re: Why are the session objects lost?
jdbrown Jan 8, 2004 3:23 PM (in response to ggopal)May be too simple, but the 2nd JSP is in the same web context as the login.jsp? If not, the session won't be visible.
-
8. Re: Why are the session objects lost?
jayasudan Mar 19, 2004 7:02 AM (in response to ggopal)Hi ggopal,
I am also getting the same problem with Jboss 3.2.3 & Tomcat 4.1
Did you get answer to the issue? Can you pl let me know the solution if you have solved the issue? I have been behind this issue for the past 2 weeks and struggling to find out whats wrong with my code / config. :(
Any info or pointers related to this issue would be really helpful to me.
Thanx in advance.
FYI: I have posted the issue under 'HTTPD, Servlets & JSP' with subject 'Session attributes are lost after jsp forward'.
regards,
Jay. -
9. Re: Why are the session objects lost?
mrgarageman Apr 21, 2004 8:15 PM (in response to ggopal)What is the scope of the bean on the 2nd jsp? page or session? or try using response.sendRedirect(url) instead of using <jsp:forward page="page" />.
-
10. Re: Why are the session objects lost?
umajava Apr 24, 2004 6:19 AM (in response to ggopal)I too am having the same problem with Tomcat 5.0.19. The application worked well for the past few days and it stopped working suddenly.
Now what happens is when the user logs in for the first time, the session is destroyed and the user is sent back to the Login page. If the user logs in with the same browser, then everything works fine.
I then shifted the entire application on to Tomcat 4.0.6 and it works great without any problems.
I have now tried to shift to JBoss thinking that this can solve my problem. But when you say that you have problems with this software too.. Then what software should I use?
Thanks
Uma