Hi ,
        Thanx a lot  i got it. Now cud u please tell me how to get the user/ip from where this request came. Actually if the user opens one more explorer/netscape window and again sends the request then how to know that this is the same user. Is something like getIP() or getUser method() available in JSP. I want to know this bcos i m creating one file for user and i want to create only one file even if user opens more than one session. How to incorporate this ??? PLS HELP.
 
Thanks and Regards
Dipesh
 
----- Original Message -----
From: Sergio
Sent: Monday, January 07, 2002 2:25 PM
Subject: Re: How to get sessionID in JSP

Hi,
 
This is what I�m doing to get the id session in my JSP pages:

    alert ("ID session: <%=session.getId() %>");

This example shows an alert message in JavaScript when I open the page where it�s included.

I hope this will help you.

 

----- Original Message -----
From: Dipesh
Sent: Monday, January 07, 2002 7:33 AM
Subject: How to get sessionID in JSP

Please tell me how to get sessionID in JSP. 
I tried using getId() method but i m not getting using this method. Pls HELP.
 
Thanks
Dipesh
 

Reply via email to