Re: Authentication login screen appears on both frames of the framset



Dana,

I'm not certain where you set that permission you have to have done that
yourself to be locking the user out of that file. Otherwise the the page
wouldn't be redirecting to the login. There are a number of places you could
have done so, but you've probably done that in your web.config file. Just
give all users permission to the page that shouldn't redirect, but then do
the check in the page's code.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"dana lees" <danal@xxxxxxxxx> wrote in message
news:uevOsc7$FHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
> Thank you very much.
> Just a little question - How do i remove a certain page from the forms
> authentication process?
> Thanks,
> Dana
>
> "S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
> message news:eBTLjdz$FHA.2708@xxxxxxxxxxxxxxxxxxxxxxx
>> Dana,
>>
>> If you're using forms authentication when a user is not authorized to see
> a
>> page they are automatically redirected to the login page.
>>
>> Since both of your frames are checking if the user is authorized they
>> each
>> get redirected.
>>
>> To fix this in the code for the page that you don't want redirected to
>> the
>> login page you should remove it from the forms authentication process and
>> then check if the user is logged in "manually" in the code-behind. If
>> they
>> are logged in display the data. If the are not then display an
>> appropriate
>> message or nothng at all...
>>
>> --
>> Sincerely,
>>
>> S. Justin Gengo, MCP
>> Web Developer / Programmer
>>
>> www.aboutfortunate.com
>>
>> "Out of chaos comes order."
>> Nietzsche
>> "dana lees" <danal@xxxxxxxxx> wrote in message
>> news:%23xvnC1x$FHA.740@xxxxxxxxxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > I am developing a C# asp.net application.
>> > I am using the authentication and authorization mechanism, which its
>> > timeout
>> > is set to 60 minutes.
>> >
>> > My application consists of 2 frames - a header frame and a main frame.
>> > When i enter the application, i see the login screen on the whole
> screen,
>> > but when the authentication expires, the login screen appears on both
>> > frames.
>> >
>> > How can i make it appear on 1 central screen?
>> >
>> >
>> > Thank you
>> > Dana
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: How to display the "Access Denied" page directly without the a
    ... authentication on whatever the link is pointing to. ... say "it is Shareponit's default behavior to pop up that login box ... whenever user tries to access the sharepoint page to which he/she does ... not the permission", I am referring to the Sharepoint access ...
    (microsoft.public.sharepoint.portalserver)
  • Re: How to display the "Access Denied" page directly without the annoying Sharepoint login box?
    ... What is your default permission on the site in IIS? ... My tip is still that you concentrate on authentication to your website ... This actually sounds like a network login box from the way you ... Sharepoint site. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: SSL and Forms Authentication
    ... redirecting to a relative aspx page from the loginurl in web.config, ... > We have our website configured to use Forms Authentication. ... > secure the Login page ONLY using SSL. ... > Documentation and books I've read allude to the abiltiy to secure a single ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • MobileFormsAuthentication.RedirectFromLoginPage
    ... everything works fine except that it tells the user that the current page, which is the login page, has been moved and ask the user whether to go to the new location. ... can i separate the authentication and redirecting? ... after the authentication i would use Server.Transferto get the user to another page. ...
    (microsoft.public.dotnet.framework.aspnet.mobile)
  • MobileFormsAuthentication.RedirectFromLoginPage telling the user that the current page has been move
    ... everything works fine except that it tells the user that the current page, which is the login page, has been moved and ask the user whether to go to the new location. ... can i separate the authentication and redirecting? ... after the authentication i would use Server.Transferto get the user to another page. ...
    (microsoft.public.dotnet.framework.aspnet.mobile)