Re: Forms authentication and frames
From: Chris Garrett (cgarrett@polythink.com)
Date: 10/01/02
- Next message: Stefano Pronti [MS]: "Re: Security Error Message on Page."
- Previous message: Marcel Braak: "Forms authentication and frames"
- In reply to: Marcel Braak: "Forms authentication and frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Chris Garrett" <cgarrett@polythink.com> Date: Tue, 01 Oct 2002 15:24:21 GMT
I cant remeber off had how to do this but I know that I got all my
javascript info from irt.org. Check out the javascript FAQ it has a lot of
usefull info there.
http://developer.irt.org/script/script.htm
CG
"Marcel Braak" <mbraak@xs4all.nl> wrote in message
news:OWi0pETaCHA.1888@tkmsftngp12...
> Hi there,
>
> I've got a web application the uses frames.
> I've set up the authentication and it works ok, except one thing i can't
> seem to fix.
>
> When a user is logged out or his session expires he is redirected to the
> login page. But the login pages are opened in the frames. I would like
this
> page to be opened on top (_top).
> I've tried to make a html file which included a javascript that redirects
to
> the login page.
>
> <script language="javascript">top.location.href =
> '/login/login.aspx';</script>
> The works when i use my logout button that links me to this html page.
>
> But when a session is expired, the .NET framework redirects me directly to
> the login page, so the login page is opened in a frame.
>
> When i change the loginUrl in de web.config to point to the html file,
then
> i'm stuck in a loop cause the login page can't be opened cause i'm not
> logged in.
>
> Is there a way to make the login page open on top?
>
> Thanx,
> Marcel
>
>
- Next message: Stefano Pronti [MS]: "Re: Security Error Message on Page."
- Previous message: Marcel Braak: "Forms authentication and frames"
- In reply to: Marcel Braak: "Forms authentication and frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|