| |
GeekInterview.com > Interview Questions > J2EE > JSP
| Print | |
Question: What is the difference between http session and application session?
|
| August 08, 2008 23:11:35 |
#8 |
| bh2008 |
Member Since: June 2008 Total Comments: 3 |
RE: What is the difference between http session and application session? |
HttpSession is logged is user specific. You can't access across the users. But application session (static) variables can be accessed across the users in the application.
HttpSession variable life time depends on the httpsession inactive time set in the server. But static variables will be in the application memory as long as you are not setting the value as null and application is running. |
| |
Back To Question | |