Issue with request.getSession().getId() method
843840Jul 13 2009 — edited Jul 13 2009I 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