-
Junior Member
Re: Regarding Servlets
hello,samineni6,
The basic difference is to get the session associated as part of the request.
If you say request.getSession(false),thats mean first you have to create the session(this is used as part of logout page),thats means it ensure, first you have to logon,after that only you can logout...
If you say request.getSession(true),thats mean you can get the old session reference as part of the request...OR if the session is not exist create a new one....(this is used as par of Login page)...
If i wrong,waiting for more enhanced reply....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules