hi
i m using two textbox one checkbox and button for my login page
i have used cookies for it but its not working
i do not want to use login control
if u have any code provide me with detail
thank u
hi
i m using two textbox one checkbox and button for my login page
i have used cookies for it but its not working
i do not want to use login control
if u have any code provide me with detail
thank u
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Alex Rivenbark35 reputationPosted Oct 25, 2008, 6:05 AM EDT
ArshadRank #2,492 · 564 reputationPosted Oct 29, 2008, 12:20 PM EDT
Response.Cookies("Khan").Value =Strings.Trim(txtuser.Text);Response.Cookies("Khan").Expires = System.DateTime.Today.AddMonths(1);
After that in the page lode of that Login page add these Lines
if (!IsPostBack)
{
if ((Request.Cookies("Khan") != null))
{
txtuser.Text = (Request.Cookies("Khan").Value + "");
}
}
Thats all, just try this if there is any issue please let me know
Thanks