on 03-08-2006 8:28 PM
Hello All,
I'm doing a development using PDK SP14 and I need to get the value of the current session. Anybody have an idea how to het that value?
Thanks in advance
Alexis
Hi Alexis,
From the IPortalComponentSession , use the getHttpSession() method to retrieve the HttpSession.
In this HttpSession , we a have method
getId() , which returns the ID of the current session.
use getCreationTime() to get the created time of the session. in most of the cases also use this as the current session ID.
Refer these links...
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpSession.html
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.