Marjou Xavier wrote:
>
> I would like to create an HttpSession with my own
> String id.
>
You'll have to roll your own session handling if
you want to do that. There's probably a couple of
relevant threads in the archives.
What exactly is it you're trying to do?
> Why isn't it possible to create this object with for
> example: getSession(boolean create, String id) in
> HttpServletRequest,
>
I'll assume you know that session id's have to be
unique, and they might have other information (like
load-balancing info) coded into them. I'm guessing
that the spec-authors decided that exposing methods
to allow users to roll their own valid sesssion id's
made the api more complex while benefitting relatively
few, so they left them out. But I'm just guessing.
--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html