aspose file tools
The moose likes JSP and the fly likes How to create Session Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "How to create Session" Watch "How to create Session" New topic
Author

How to create Session

Raja ji
Greenhorn

Joined: Dec 19, 2005
Posts: 16
Hi to all,

I want to ask that how many tecniques to a session on JSP PAGE.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56177
    
  13

You don't create sessions. They are created on your behalf by the servlet container.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
ashish kanchan
Greenhorn

Joined: Apr 06, 2006
Posts: 7
Hello Bear Bibeault
why i don't create session on jsp
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56177
    
  13

I repeat: they are created on your behalf by the servlet container.
Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 206
Hey friends.. I agree that the session is created by the servlet container itself.. However , If at any point , If you want to track session then you need to use HttpSession interface.. Here's the link which will help you..

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html

Cheers..


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to create Session
 
Similar Threads
Session
limit the no of sessions with struts.
How to invalidate session on the basis of session ID in servlet
How to know size of a session
Session Tracking