Is there only one way to get session in java calling request.getSession()? -


i know there 1 way call session using request.getsession() or there other way?

the api shows 2 methods. 1 creates session if needed, , other doesn't.

http://java.sun.com/javaee/5/docs/api/javax/servlet/http/httpservletrequest.html#getsession%28%29

and

http://java.sun.com/javaee/5/docs/api/javax/servlet/http/httpservletrequest.html#getsession%28boolean%29


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -