Title: SV: Session listener redirect

I would go with a Filter instedad of an include.
WR

> -----Ursprungligt meddelande-----
> Fran: Rafael Alvarez [mailto:[EMAIL PROTECTED]]
> Skickat: den 6 mars 2001 07:07
> Till: Orion-Interest
> Amne: Re: Session listener redirect
>
>
> Hello Ron,
> Two ideas:
>
> .- Use an include in all your pages to check for some value in the
> session to see if the user enters from the start page.
> .- Use a servlet mapped to jsp and html. Where a user request a jsp or
> html the servlet is invoked. Then you can check  the request referer
> and act acordingly.
>
> Check the documentation of the web.xml file to see how servlet mapping
> is defined.
>
> To get the referer from the request, use
>        request.getHeader("Referer")
>       
> Tuesday, March 06, 2001, 7:33:01 AM, you wrote:
>
> RQ> I have created the following session listener class which
> works but now I
> RQ> want to redirect the client to the start page of the
> application if they are
> RQ> trying to enter the application from another page.
>
> --
> Best regards,
>  Rafael                            mailto:[EMAIL PROTECTED]
>
>
>

Reply via email to