Could anyone tell me how to set the session timeout property in JSP. And should it be set at the first place where session is created. Early reply is appreciated.
Typically, you configure that for the server, not for a particular user, so it depends on what server you are using.
For WebLogic 5.1.0 it's somewhere in weblogic.properties (isn't everything!)
For Apache jServ it's in jserv.properties.
For Tomcat it's in server.xml.
What I can't remember is, if it is possible to set it in a servlet context in the web.xml file in the WAR file.
Take a look at the spec (so will I) and see if it's there.
One of the above server options will definitely work though.