문제

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.

도움이 되었습니까?

해결책

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top