View Full Version : echo or redirect?
09-23-2003, 10:37 PM
Which would be faster...
Echoing out a short tell-a-freind confirmation page
just redirecting them to it via
Nothings been cached except the style and form's validation.
09-23-2003, 10:46 PM
It'll take like not even a second
09-23-2003, 11:10 PM
It'll just be the same if the html is the same. Using a header redirect would be easier for you to update the html though
09-24-2003, 01:22 AM
I've been told that:
echoing would have a more reliable completion time as you have to deal with pipe clogs when you redirect.
09-24-2003, 05:49 AM
echoing would have a more reliable completion time as you have to deal with pipe clogs when you redirect
.... and check your dilithium crystals are correctly phased :D
09-24-2003, 07:09 AM
Well, if using a header redirect, how would I again post the vars to the redirected page without using a session, etc.?
09-24-2003, 10:31 AM
ah ok , well if there is not too much data you could just pass it bak via GET ?
or all at once
(you could base64_encode() it as well to look less dodgy :) )
or as you suggest use sessions, you could indeed use fsockopen and POST the data to your new page as well but thats overkill.
alternately , you could use apaches mod_rewrite to rewrite the url for you in the first place (wont be available on all hosts)
09-24-2003, 07:23 PM
...or simply echo out the data. ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.