How secure the Servlet is? If I put some data into the session, then could the user change/hack it at client side? I mean not someone else to hack the data but the user himself. If the user intend to do that, he can disturb/modify other's data. For example, I store the record id which is belong to the logined user in the session, If he has the ability to change it to another's id and do some modification, the innocent data will be corrupted. Any replies are welcome!
The actual HttpSession object is stored in memory (or possibly in a database) in the Web Container. At no time is the contents of the HttpSession stored or made available to the client. The only thing that is stored on the client is the session id.
Joined: Jun 26, 2002
Oh, I see. It's great! Thank you very much! I can go back to busy work and forget this.
"Pcxhev Qydzb", Please read the JavaRanch naming convention at http://www.javaranch.com/name.jsp. Please edit your profile and select a new name which meets the requirements. If you are going to sign your posts as 'Wallace Zou', we will require you to change your display name to this as well. If you don't, you run the (very real) risk of having your account locked. Thanks. Dave