Skip to Content
author's profile photo Former Member
Former Member

How to track session in Webdynpro Java application

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 10:12 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.