HTTP request isrequestsessionIdvalid() function problem
Hi,
To check the expiration of the HTTPSession , i have used in my Controller servlet , a check as:
if (!isRequestSessionIdValid()){
out.println("Session has expired!!!")
}
however the above piece creates problem,As I type the URL and hit ENTER the control reaches to controllerservlet, and to my suprise it prints the message As "Session has expired!!!"
.
However, when I again hit the URL on the same browser window, the session id is generated and code works fine.
I am using app server 7.
Any pointers is highly appreciated!!!
Thanks in Advance
Kartic

