about refresh meta, thx
"student student" <[email protected]> Thu, 09 Jan 2003 06:28:34 +0000
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <[email protected]> |
hi,
i got a problem in using the meta tag , i want to redirect the user to another page after the login
but the problem is, it always refresh with the original page, can someone tell me the reason ? thx.
eg. here is the login.cgi in www.xxx.com/cgi-bin/login.cgi
cout << HTTPHTMLHeader() << HTMLDoctype(HTMLDoctype::eStrict) << endl;
cout << html().set("lang", "en").set("dir", "ltr") << endl;
cout << head() << endl;
cout << meta().set("HTTP-EQUIV", "REFRESH").set("CONTENT", "3").set("URL"," http://www.xxx.com/redirect.html ") << endl;
cout << title() << "Successful Login" << title() << endl;
cout << head() << endl;
cout << body() << endl;
cout << h1() << "Welcome" << h1() << endl;
cout << "Successful login" << endl;
cout << body() << html() << endl;
it won't go to redirect.html but just refreshing to login.cgi again.....can anyone help me to solve this...
thx
Regards,
cy
----------
The new MSN 8: smart spam protection and 2 months FREE*.
_______________________________________________
help-cgicc mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/help-cgicc