Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > FormsAuthentication Signout should redirect to frameless page!

Reply
Thread Tools

FormsAuthentication Signout should redirect to frameless page!

 
 
Manimaran M
Guest
Posts: n/a
 
      02-18-2004
Hi,

I'm using FormsAuthentication in an web application that uses Frames.

When the user clicks on "logout" button, I have the following code:

FormsAuthentication.SignOut();

The challenge here is that, SignOut redirects to the logon page specified in
the <forms> element in Web.Config. As a result, the logon page is loaded in
the same frame.

The requirement is that logon page should never be displayed within a frame
and any redirection to the logon page should behave like a hyperlink with
target="_top" property.

Any idea on how to combat this challenge?

Thanks in advance.

Regards,
Manimaran M.


 
Reply With Quote
 
 
 
 
Hernan de Lahitte
Guest
Posts: n/a
 
      02-19-2004
You might use some jscript on the client side (ie onload page event) that
force a top resposition of the page.
In this case, this page will be the login page configured in your Forms
settings.

HernanDL.


"Manimaran M" <> wrote in message
news:...
> Hi,
>
> I'm using FormsAuthentication in an web application that uses Frames.
>
> When the user clicks on "logout" button, I have the following code:
>
> FormsAuthentication.SignOut();
>
> The challenge here is that, SignOut redirects to the logon page specified

in
> the <forms> element in Web.Config. As a result, the logon page is loaded

in
> the same frame.
>
> The requirement is that logon page should never be displayed within a

frame
> and any redirection to the logon page should behave like a hyperlink with
> target="_top" property.
>
> Any idea on how to combat this challenge?
>
> Thanks in advance.
>
> Regards,
> Manimaran M.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FormsAuthentication.SignOut not working within subfolder Jeff Johnson ASP .Net 6 07-24-2009 05:54 AM
Signout does not signout. craigkenisston@hotmail.com ASP .Net 2 04-05-2006 03:48 AM
Calling FormsAuthentication.SignOut() after calling Response.Flush =?Utf-8?B?TWFydGluIExlZQ==?= ASP .Net 1 09-28-2004 12:47 PM
FormsAuthentication.SignOut not working Ed West ASP .Net 0 08-23-2004 01:03 AM
What is the purpose of FormsAuthentication.SignOut()? Ali ASP .Net 1 01-29-2004 02:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57