help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] about refresh meta, thx


From: student student
Subject: [help-cgicc] about refresh meta, thx
Date: Thu, 09 Jan 2003 06:28:34 +0000

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*.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]