Re: Run script at entry of each page

Tech-Archive recommends: Speed Up your PC by fixing your registry



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


.



Relevant Pages

  • Re: Reset Drop Down List
    ... One possibility is to set a hidden field with the value on the reset pass ... and then use that value for the redirect. ... "Chris Moore" wrote in message ... >>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: www.mysite.com/index.php?
    ... >>It means that I need to have a command there to redirect to ... directory index option. ... Chris Hope ...
    (alt.php)
  • Re: an odd redirect?
    ... "Jon Spivey" wrote in message ... > "chris leeds" wrote in message ... >> spam. ... >>> Please when the redirect should happen. ...
    (microsoft.public.frontpage.client)
  • Re: How do I redirect to a new php file from the one I am in?
    ... I then search in the database for the entry and discover if they ... > this I want to redirect the user to a new php file. ... Chris Hope ...
    (comp.lang.php)
  • Re: [PHP] location= Construct Doc
    ... And it seems to work as a redirect... ... But not part of the header ... fuction, and not just setting a variable... ... Chris W. Parker wrote: ...
    (php.general)