| Author |
Basic question regarding predefined-variable: session
|
Rudy Rusli
Ranch Hand
Joined: Jun 01, 2006
Posts: 114
|
|
Hello, I'm trying to understand the difference between predefined-variable "session" with "request.getSession()". I read the API and it says something like this for request.getSession(): "Returns the current session associated with this request, or if the request does not have a session, creates one." I don't understand when I have to call request.getSession() and when I just need to use predefined-variable "session". Thanks for the advice. ~ Rudy ~
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
They are one and the same.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Basic question regarding predefined-variable: session
|
|
|