Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Re: http session


Message #1 by "sami s n" <sami.s.n@l...> on Sat, 03 Mar 2001 10:44:06 +0530
 hi
here is the code
HttpSession sess= request.getSession(true);
this will create a session
to log out 
just use
sess.invalidate();
where sess is the ref to the httpsession
best of luck
--

On Tue, 27 Feb 2001 06:29:47  
 Kevin Mukhar wrote:
>Dinesh wrote:
>> 
>> can anybody help me out how to track a session and logout from a session.
>
>http://java.sun.com/docs/books/tutorial/servlets/client-state/index.html
>

  Return to Index