How does servlet container generates session id?

Y

yborov

Hi all,

I'm trying to find a way to get the same session id that is used to
track HTTP session with the same client. Currently I am using cookies
to track these session id, but I wanted the session id to be created
based on the clien't ip address.
My questions are:
- How Jetty servlet container generate session id?
- Is there a way to configure the servlet container to generate
session id based on IP address of the client?
- In the servlet 2.3 spec, it mentioned that beside Cookies and URL
Rewriting as a session tracking mechanism, SSL sessions "allow multiple
requests from a client to be unambiguously identified as being part of
a session. A servlet container can easily
use this data to define a session". Does any body know how this work
(in particular with Jetty servlet container).

Any help is very much appreciated.

yborov.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top