Hi Sam!

Sam Rose wrote:

In general a session with URL encoding does only differ from a cookie based
session in that the way you pass the id is not a header, but part of the
requested URI (or perhaps the posted body).

> How can a session be initiated with URL encoding?

same way as with cookies: getSession(true);

> How do you do this, and also passing parameters without them being
> seen in the URL? - or can this not be done?

This might depend on your servlet engine. Some engines might support session id
that were posted using a form. This might not always be the case.

> Can you store parameters in a session with URL encoding?

You can store parameters just the same way as you would with cookie based
sessions.

> Is it possible to create a session ID with URL encoding?

The only way to create a session is the method getSession(true) [or since API
2.1: getSession()]

Cheers,

Hendrik Schreiber
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  The WebApp Framework        http://www.webapp.de/
  jo!                 small&smart 2.1 servletengine
  Persistence              objectrelational mapping
  Java Server & Servlets    The German servlet book

___________________________________________________________________________
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

Reply via email to