File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes session parameters??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "session parameters???" Watch "session parameters???" New topic
Author

session parameters???

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Why session doesn't have parameters???

Thanks.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Parameters on the request represent the information sent by the client. Parameters and Attributes are different to distinguish client values from application values.

Sessions are only visible to the application, the client has no direct access to the Session, only the session id and therefore it does not need to manage client parameters. If you add a client parameter to the session, you do it through the application and it is therefore an application value
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Thanks David.

Originally posted by David O'Meara:
If you add a client parameter to the session


Here you mean, getting parameters from request and adding into attributes of session... right?

Thanks.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Yes, that is implied since the session does not have parameters
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session parameters???