Hey,
I was wondering if anyone could help me out with the following problem. I have created a user authentication system using dreamweaver. It all work fine except I want to make a few changes.
Here is the code I want to change;
How do I assign the fist cookie, 'ckusername' (line 4) to a value from a MSSQL database instead of a form variable?
Thanks in advance
-Smitch
I was wondering if anyone could help me out with the following problem. I have created a user authentication system using dreamweaver. It all work fine except I want to make a few changes.
Here is the code I want to change;
1 <Script runat="server">
2 Sub button_click(s as object, e as eventargs)
3 If ds_checkuserinfo.RecordCount = 1 Then
4 Response.Cookies("ckusername").Value = Request.Form("txtusername")
5 Response.Cookies("ckusername").Expires = DateTime.Now.AddDays(1)
6 Response.Redirect("index.aspx")
7 End if
8 End Sub
9 </script>
How do I assign the fist cookie, 'ckusername' (line 4) to a value from a MSSQL database instead of a form variable?
Thanks in advance
-Smitch














