Re: Authentication login screen appears on both frames of the framset
- From: "S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com>
- Date: Tue, 13 Dec 2005 08:18:58 -0600
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
>> >
>> >
>>
>>
>
>
.
- Follow-Ups:
- References:
- Authentication login screen appears on both frames of the framset
- From: dana lees
- Re: Authentication login screen appears on both frames of the framset
- From: S. Justin Gengo
- Re: Authentication login screen appears on both frames of the framset
- From: dana lees
- Authentication login screen appears on both frames of the framset
- Prev by Date: Re: Collapsible list of question and answer
- Next by Date: Re: Collapsible list of question and answer
- Previous by thread: Re: Authentication login screen appears on both frames of the framset
- Next by thread: Re: Authentication login screen appears on both frames of the framset
- Index(es):
Relevant Pages
|