Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issue with request.getSession().getId() method

843840Jul 13 2009 — edited Jul 13 2009
I have configured and running my app in eclipse3.4 with weblogic plugin.

We have a execution flow in our webapp like JSP -> Servlet (operation) -> JSP (result).
In one of the result JSP we have the statement,
request.getSession().getId();

Problem here is, the above statement returns new session id for the same request. Because of this
I am redirecting to login page again. I dont know why its returning like this. I hope, ideally session id
should be same if we try to get it from same request. This problem was not there previously.

There might be some session overlapping happing in server?
Will there be any problem in eclipse or weblogic?

Pls help me to resolve this issue.

-V
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2009
Added on Jul 13 2009
1 comment
620 views