kevin_k
Jul 9 2009, 05:30 PM
Hello Everybody:
I've noticed that, for instance, when we log-in to our accounts or log-out a status page comes up to tell us that we were logged-in/out correctly AND then redirects us to another page. I've used the header() function to redirect users to various pages after performing some programming task but the PHP manual says that the header() function must come before any output is sent to the browser. How does Zymic perform their redirects? I'd like to do this with my users when they log-in/out to my site too.
W3C have deprecated it, as it quite rightly states that it is not known how long a user needs to read the page, but we use a meta refresh to delay it:
CODE
<meta http-equiv="refresh" content="5;URL='http://www.page.to.redirect.to'" />
http://www.w3.org/TR/2003/WD-WCAG20-HTML-T.../#meta_redirect
kevin_k
Jul 9 2009, 07:22 PM
QUOTE(Bread @ Jul 9 2009, 05:59 PM)

W3C have deprecated it, as it quite rightly states that it is not known how long a user needs to read the page, but we use a meta refresh to delay it:
CODE
<meta http-equiv="refresh" content="5;URL='http://www.page.to.redirect.to'" />
http://www.w3.org/TR/2003/WD-WCAG20-HTML-T.../#meta_redirectThanks Bread. That was quite useful, I've already tested it on a few pages I'm working on. Very cool. I'm very impressed with the level of tech support you guys provide.