We all know that http provides a "stateless" connection, and therefore we use things like cookies, hidden fields, sessions, etc... to maintain a state(in other words, that Jack is Jack between page views).
I can understand how cookies, hidden fields, etc... can be used to do this, but not exactly clear about sessions. What does the server/web container/etc use to identify sessions? Is it some information in http header, or/and IP address/key exchanged between server and client/hidden query string/cookie?/?/?
I assume that it's combination of many of these things that are abstracted from the programmer, but if someone could please clarify.
and, how safe is it to use session variables? i know that there are issues with cookies being stolen or being created to steal states. what do you guys use to maintain state?
btw, I'm just getting into using tomcat with jakarta struts...
thanks for your help...
I can understand how cookies, hidden fields, etc... can be used to do this, but not exactly clear about sessions. What does the server/web container/etc use to identify sessions? Is it some information in http header, or/and IP address/key exchanged between server and client/hidden query string/cookie?/?/?
I assume that it's combination of many of these things that are abstracted from the programmer, but if someone could please clarify.
and, how safe is it to use session variables? i know that there are issues with cookies being stolen or being created to steal states. what do you guys use to maintain state?
btw, I'm just getting into using tomcat with jakarta struts...
thanks for your help...
