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.
"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
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad: