On Wed, 11 Jul 2001 [EMAIL PROTECTED] wrote:
>
>
> Hi everyone.
>
> I am placing a tag on each page to check the user is logged on, which, as
> expected, takes them to a login page if they are not.
>
> However, I want to then return them to the page they tried to access before
> being asked to log on. Do I need to save the name of the page somewhere, or is
> there an easier way?
>
It sounds like you are duplicating what container-managed security in a
servlet container will do for you. Refer to the Servlet Spec for
definitions <http://java.sun.com/products/servlet/download.html>.
I also did a BOF at JavaOne that covered container-managed security at a
pretty high level, but is useful to read after you've read the servlet
spec chapter on security. You can write to me privately if you want a
copy.
> Cheers,
>
> Dave
>
>
>
>
Craig McClanahan