[UPHPU] php user authentication

Alvaro Carrasco alvaro at epliant.com
Thu Apr 24 15:09:37 MDT 2008


thebigdog wrote:
> Nathan Lane wrote:
>> Thank you all for the ideas on how to do it. Thanks for the information
>> about redirects also. Isn't there a way to clear the total number of
>> redirects though or make it so that a redirect isn't kept in the browser
>> history?
>
> just dont do them too often. i had a buddy that did them with a site 
> and it killed it. he would redirect after various form posts and it 
> just ate away at that number of redirects. the browser keeps track of 
> them on tcp connections. so depending on some network settings those 
> connections remain after redirects. they would have to time out; 
> especially in the case with IE. Firefox i have set the redirect limit 
> pretty high.
>
> -- 
> thebigdog
The redirect limit only affects consecutive redirects, so as long as 
your site is not redirecting to a page that redirects to another page 
and so forth... you should be fine. It is actually a best practice to 
redirect after every post to avoid re-posting when the user hits the 
reloads the page or hits the back button (and to avoid that confirmation 
propmpt: "The page you are trying to view contains POSTDATA. If you 
resend...").

Alvaro



More information about the UPHPU mailing list