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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -