cancel
Showing results for 
Search instead for 
Did you mean: 

How to track session in Webdynpro Java application

MitulAdhia
Product and Topic Expert
Product and Topic Expert
0 Kudos
60

Hi All,

How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .

How could i get the same . Kindly help me on this .

Thanks & Regards,

Mitul.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null

if (session == null) //forward to first page

else //do normal work

Then u can update ur session right ,

Regards ,

Venkat