on 1/21/03 9:19 PM, Addison Ellis at addison@bellsouth.net appended the following bits to my mbox: > 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 No, it will not work. PHP is server side, JavaScript (onClick, etc.) is client side. Have the form submit to a PHP page that has the session functions at the top. HTH. Sincerely, Paul Burney <http://paulburney.com/> Q: Tired of creating admin interfaces to your MySQL web applications? A: Use MySTRI instead. <http://www.burney.ws/software/mystri/> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php