codefinger
Programmer
IN DEFAULT.ASP
Sub window_onload
Dim ls_cookie
ls_cookie = "<%=Request.Cookies("username"
%>"
frmAR.textuserid.innerText = ls_cookie
End Sub
..Allows user to submit a form to DIRECTOR.ASP, which
contains the following:
<%@ Language=VBScript%>
<%
Response.Buffer = true
Response.Expires=0
Response.Cookies("username"
= Request.Form.Item("textuserid"
Response.Redirect Request.Form.Item("radionewcheck"
%>
My cookies don't work, ie, the userid text box is NOT automatically populated when the form is loaded. I am not sure if the problem is how I try to get the value, or how I tried to save it in the first place. I am at a loss as to what I am doing wrong.
Any and all help would be greatly appreciated.
Thanks in advance.
Sub window_onload
Dim ls_cookie
ls_cookie = "<%=Request.Cookies("username"
frmAR.textuserid.innerText = ls_cookie
End Sub
..Allows user to submit a form to DIRECTOR.ASP, which
contains the following:
<%@ Language=VBScript%>
<%
Response.Buffer = true
Response.Expires=0
Response.Cookies("username"
Response.Redirect Request.Form.Item("radionewcheck"
%>
My cookies don't work, ie, the userid text box is NOT automatically populated when the form is loaded. I am not sure if the problem is how I try to get the value, or how I tried to save it in the first place. I am at a loss as to what I am doing wrong.
Any and all help would be greatly appreciated.
Thanks in advance.