session_destroy(); on submit?

From: Date: Wed, 22 Jan 2003 02:19:45 +0000
Subject: session_destroy(); on submit?
Groups: php.db 
Request: Send a blank email to php-db+get-25024@lists.php.net to get a copy of this message
hello, will the following work or should i be attempting something else? </form> <input type="submit" name="submit" value="Submit" onClick="<?session_unset();,session_destroy();?>"> <input type="hidden" name="url" value="http://www.etc.com"> thank you and best, addison -- Addison Ellis small independent publishing co. 114 B 29th Avenue North Nashville, TN 37203 (615) 321-1791 addison@bellsouth.net info@smipco.com subsidiaries of small independent publishing co. info@gloabaldog.com info@momandpocentral.com

« previous php.db (#25024) next »