Session ID managment ?

hiHow to container(like tomcat ) manage session id in client side ? with cookie or URL rewriting .
[112 byte] By [Saeed_Zarinfama] at [2007-11-27 2:42:07]
# 1
cookie
knightweba at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
hiAre you sure
Saeed_Zarinfama at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Why are you asking this then? What do you want to achieve?

Be aware that the session ID's of the webcontainer aren't unique all the time. They are only unique inside the webcontainer.

If you want to reuse those ID's somehow to idendifity something unique, then look for another approach. Generating an unique ID based on the timestamp, nanotime, or so.

BalusCa at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I want to know that if container manage session id with cookie then if browser cookie is not enable then how to container recognize user ?
Saeed_Zarinfama at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Create a login system.
BalusCa at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
my question is in the system levelWhen a user send a request . this request must include session id . if user browser do not support cookie . how to put user session id in the request ?
Saeed_Zarinfama at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
The session ID is available by HttpSession#getId().
BalusCa at 2007-7-12 3:06:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...