Quote:
quote:Originally posted by sandip.bhoi
Is there any thing on browser related to Session?
|
Yes, the session ID cookie, but that's all. No session data resides in the browser.
Quote:
quote:Originally posted by sandip.bhoi
The browser is having the cookie JSESSIONID which contains the unique session id. The cookies travels to and fro with request and response.
Then does the server identify the same session of the client from session id in the cookie?
|
Don't you mean "SESSIONID" (no J)? Yes the server identifies "who" the user is based on the session id in the cookie. That's how it matches up the in memory data to a user.
Quote:
quote:Originally posted by sandip.bhoi
Can cookie modified at client side? what if the cookie is modified at client side? It may interfere with other session and every thing may go wrong...
|
Yes, technically you could change your cookie. If you change the session ID in the cookie, you'll most definately affect the way the application behaves. If you were able to spoof another user's session ID you could then operate in their session. This is why user authentication should be maintained in something like a forms authentication ticket which is encrypted and much more difficult to hack.
-Peter