Hello Friends,
I have few doubts regarding Session management.
I'm planning to extend RequestProcessor class to know whether session is expired or not. (Instead of doing it in every action class)
I want to know how to differentiate the new request from the 'session-expired*' request
'session-expired' request : request that is made after session-timeout.
Because for both type of requests session.getSession(true) will return new Session objects.
I need to display same page for both type of requests but with a message for 'session-expired' request.
Note: My problem is NOT about differentiating new requests from subsequent requests (which is part of the existing session)
I can accomplish it by addding an object to the session intially and look for the object to know whether the request is part of exisitng session or not.
Hope my question is clear. If not, please let me know.
[ December 05, 2008: Message edited by: Suresh Gopi ]
[ December 05, 2008: Message edited by: Suresh Gopi ]