Click to See Complete Forum and Search --> : Posting a form and depositing a cookie with one event handler


asmith
11-07-2003, 09:43 AM
I want to assign two actions to on onClick() event handler. There is a text field where a user will enter their user id, when they click a "continue" button I would like two actions to occur: first action is to deposit a cookie on the users hard drive and the second action is to send an e-mail with the users id which they entered into the text field.

Is this task possible?

Thx.

Charles
11-16-2003, 07:18 AM
See http://www.perldoc.com/perl5.8.0/lib/CGI.html#HTTP-COOKIES.