Puja Aggarwal

Puja Aggarwal

  • NA
  • 291
  • 7.9k

how to redirect user to login page ?

Nov 23 2020 2:05 AM
How to redirect a user to login page if he directly clicks on forgot password link, at this time the sesson is not null cause it has set to 18 minutes , so if he comes before 18 mins and directly clicks on forgout password i have to redirect him to Login page even if session is not null.
  1. private void btnForgotPsd_Click()  
  2. {  
  3.   Response.Redirect("ForgotPsd.aspx?username"+txtUserName.Text)  
  4. }  
 

Answers (1)