How is state maintained within an application/web server?

133 views Asked by At

I understand what stateful and stateless session beans are and when to use them but I am curious as to how an application/web server knows that this object instance belongs to this client. Is a session id sent in the form of a cookie and the application/web server knows that this session object belongs to this particular client?

1

There are 1 answers

0
Sergio Lema On

From Wikipedia:

The client usually stores and sends the token as an HTTP cookie and/or sends it as a parameter in GET or POST queries