Todd Smith <[EMAIL PROTECTED]> wrote:
> >Since these (bookmarked and stale) requests aren't likely to be for
> >static pages, I have to have some way to save the request parms before
> >the login process & restore them afterwards (so the normal servlet
> >mechanisms can handle them appropriately).
> >
> >The first thing that comes to mind is that I stick the values from the
> >(stale/bookmarked) request in a request-like object, then store that in
> >the session until it's needed. [...]

Lance Lavandowska (http://www.AgDomain.Com) wrote:
> I stash the whole request url (query string & all) into a Session/Request
> object, then after a successful login do a client-side redirect to the
> original url.  This avoids having to stash params in the Request and
> creating two ways to get the information in each servlet [getParameter()
> vs getAttribute()].

     Something I'm missing here; how do you redirect the login?  A
POST can't be redirected, as far as I know, only GET.

Steven J. Owens
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___________________________________________________________________________
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