R
Rachel Kinder
I am trying to get my form values to both submit to the
database and set some of the field values to cookies. I
have no problem submiting to the db, and I have no
problem setting the cookie to say something
like "abcdef", but when I try to set the cookie value to
the text field value, it does not work. I don't receive
any errors, it just doesn't set. I think that I may have
the code in the wrong place. Any help would be
appreciated. I have tried several scenarios ( onchange
of the field, onsubmit of the form, in the form action )
What am I doing wrong??? ( code I'm using is
Response.Cookies("CookieName")
=Request.FormName"Fieldname")
database and set some of the field values to cookies. I
have no problem submiting to the db, and I have no
problem setting the cookie to say something
like "abcdef", but when I try to set the cookie value to
the text field value, it does not work. I don't receive
any errors, it just doesn't set. I think that I may have
the code in the wrong place. Any help would be
appreciated. I have tried several scenarios ( onchange
of the field, onsubmit of the form, in the form action )
What am I doing wrong??? ( code I'm using is
Response.Cookies("CookieName")
=Request.FormName"Fieldname")