HI Everyone,
I am trying to create a cookie with vbscript. No matter what syntax I use it errors out on the line with the response object. I am new to asp and vbscript and the books aren't working.
Sub Login_onclick
window.alert (uspw.user.value)
Response.Cookies("OilLogin"
("User"
=(uspw.User.value) 'uspw is the name of the form
window.alert (request.cookies("OilLogin"
("User"
)
End Sub
The first msgbox appears with the correct input data but then nothing! I know this is simple and should work but does not. Can someone please help?
I am trying to create a cookie with vbscript. No matter what syntax I use it errors out on the line with the response object. I am new to asp and vbscript and the books aren't working.
Sub Login_onclick
window.alert (uspw.user.value)
Response.Cookies("OilLogin"
window.alert (request.cookies("OilLogin"
End Sub
The first msgbox appears with the correct input data but then nothing! I know this is simple and should work but does not. Can someone please help?