Colin Johnstone wrote:
Gidday All,

After adding a member to my mailing list using a form with the get method. I
wish to send a location header to call the page again, to clear the query
string. So that if the refresh key is hit that member is not added again.

Is this the correct implementation of the location header

print "location: press_managelist1.pl\n\n";

This appears correct, did it not work (you might want to fully specify the URL, though there are occasions when you won't)? As an aside, you should consider checking your list before adding a new addition if you really want to avoid duplicates, unless dupes are ok. In which case you might set a cookie or something that contains a date and then not allow them to post a dup until a certain amount of time has passed, etc.

http://danconia.org


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to