> I have to check user's name and password, create a session, read some
> preferrences from a database, store data in the session object and - if
> everything is ok - redirect the client to another URL (which is not always
> the same, depends on username/category).

> What would be the best way to do this redirect? JavaScript or
> redirect-method in response-object?

Redirect. Easier & safer (the whole routing process should be completely
hidden from the client).


        - Isaac

___________________________________________________________________________
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