This content has been marked as final.
Show 2 replies
-
1. Re: request.getSession() somtime return null
gfzhang Oct 14, 2004 6:38 AM (in response to gfzhang)I also find that for a authenticated user, request.isUserInRole() somtime reutrn false.
we use this feature to control the look and feel of our application. This issue make our application unstable to user.
Is there any work-arround way to solve the issue?
Thank you very much! -
2. Re: request.getSession() somtime return null
lviz Oct 14, 2004 6:52 AM (in response to gfzhang)hi
a call to request.getSession() returns ...:
Returns the current HttpSession associated with this request or, if there is NO current session returns null.
a call to request.getSession(true) returns ...:
Returns the current HttpSession associated with this request or, if there is no current session and create is "true", returns a new session.
is that what you are lookung for :)
cheers
L