Author: Subhakanta | Posted on: 5/21/2009 7:07:07 AM | Views : 288

Hi Forum members,
I want to remember user name and password in my asp.net page .there is a check box by where i can click for remember .when i submit button click the page go to me the next page but the programme i wrote for remember username and password not working so how can i save my username and password in my machine.i have give my programme below there are two type i tried but not successed this procedure is written in button click event

Type-1
 Dim validateuser As String = String.Empty
           Dim myCookie As HttpCookie = New HttpCookie("myCookie")
            Response.Cookies.Remove("mycookie")
            myCookie.Values.Add("UserName", txtusrName.Text.ToString())
            myCo ...

Go to the complete details ...