Re: popup and timeout problem
- From: "Cathal Connolly [C# MVP]" <cconnolly@xxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 23:37:58 +0100
You can't bypass the logon, as the check happens at the application level
via the .net framework, so the redirect happens before the page is properly
accessed. You could either add the code into the page_load of the login page
to check the referrer, and popup the page accordingly, or else use a htm as
the popup(as the extension exists outside the .net framework).
Another option is to use a subfolder with it's own configuration.
web.config's work in a hierarchial tree based way, so you could have your
popup page in another directory, that contains it's own web.config, that
allows unauthenticated access to it i.e.
javascript:window.open('unauth/wfpopup.aspx....
Cathal
"Dan Pavel" <myalternativmail@xxxxxxxxx> wrote in message
news:%23BqY0pQjFHA.1464@xxxxxxxxxxxxxxxxxxxxxxx
> Yes, I am using Form auth. How can I bypass this redirect to the logon
> page ? In the worst case, I need that when the session is timed out,
> this wfpopup.aspx page to be redirected to a simple page with the
> "Session expired. Please login" text not to the logon page. How can I do
> that ?
>
> Thank you,
> Dan
>
> *** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: popup and timeout problem
- From: Dan Pavel
- Re: popup and timeout problem
- References:
- Re: popup and timeout problem
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: popup and timeout problem
- From: Dan Pavel
- Re: popup and timeout problem
- Prev by Date: Re: Ensuring Close() gets called.
- Next by Date: Re: formatting in a richtextbox
- Previous by thread: Re: popup and timeout problem
- Next by thread: Re: popup and timeout problem
- Index(es):
Relevant Pages
|