Re: Run script at entry of each page
- From: "Chris Botha" <chris_s_bothaAT@xxxxxxxxxxx>
- Date: Sun, 13 Nov 2005 23:05:26 -0500
Superstition, or extra luck, I guess :-)
"Randall Parker" <NOtechieSPAMpundit_please@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:ulp$puM6FHA.252@xxxxxxxxxxxxxxxxxxxxxxx
> Chris,
>
> Dumb newbie question: Why the Response.Clear before the Redirect? I've
> done Redirect by itself and that seems to work.
>
> Chris Botha wrote:
>> Hi Randall, yes, it will work, you may want to do it as
>> Response.Clear()
>> Response.Redirect(...
>> Response.End()
>>
>> Also have a look at Forms Authentication, it is more involved, sort of
>> does the same and has more features.
>>
>>
>> "Randall Parker" <NOtechieSPAMpundit_please@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>> wrote in message news:%23HZbBuL6FHA.632@xxxxxxxxxxxxxxxxxxxxxxx
>>
>>>Chris,
>>>
>>>If one has a site that one is going to require people to log into then is
>>>the base page approach a good way to make sure that a user has logged in
>>>before he gets to see any pages?
>>>
>>>Could one just do a Response.Redirect call in the base's Page_Load
.
- References:
- Run script at entry of each page
- From: tshad
- Re: Run script at entry of each page
- From: Chris Botha
- Re: Run script at entry of each page
- From: Randall Parker
- Run script at entry of each page
- Prev by Date: app_data folder security...
- Next by Date: Re: Deploying an ASP.NET application
- Previous by thread: Re: Run script at entry of each page
- Next by thread: Re: Run script at entry of each page
- Index(es):
Relevant Pages
|