password recovery control in asp.net

1.2k views Asked by At

i would like to create a forgot password control that follows this steps:

1- the user enters his email. 2- an email is send to the user containing the url which has the authentication ticket.

my problem is i cant create an authentication ticket and embed it within the url here is an example i used:

FormsAuthenticationTicket ticket = new
        FormsAuthenticationTicket(1, ttb1.Text, DateTime.Now, DateTime.Now.AddMinutes(60),
            true, string.Empty);

but the ticket isn't included in the url, how can i do that , thanks.

using asp.net 4.0.

1

There are 1 answers

2
Wahtever On BEST ANSWER