Click to See Complete Forum and Search --> : Input from form to cookie


KaaCee
06-14-2004, 11:47 AM
Being new to Java I'm bogged down by the options available, but my question is; Is it possible to save user input to a cookie? I'm aware of security issues in writing a text file, for example, to a users pc. The code snippet I'm currently using is as follows:

------------------------------------

<BR>Button One<INPUT TYPE="file" NAME="button1" SIZE="45">
<BR>Main Graphic<INPUT TYPE="file" NAME="maingraphic" SIZE="45">
<BR>Text Graphic<INPUT TYPE="file" NAME="textgraphic" SIZE="45">

<P><INPUT TYPE="submit" VALUE="Send"></P>

-------------------------------------

What I'm looking for is something that says, when I hit submit, it saves the filepaths to a cookie on the users pc.

Thank you,

kc

olaf
06-14-2004, 02:41 PM
Maybe you should read this first:

http://www.webreference.com/js/column8/

KaaCee
06-14-2004, 03:49 PM
Thank you :)


kc