Hi
You can do like this,
I will explain you step by step:
Step 1:
First,you will have the url on the email.
If the user, clicks on the particular link it should redirect to the user profile right.
For that, you would have some identity to redirect to the particular user profile.
Store this value on any Session Object.
Session["UserProfileValue"] ="Value";
Here, value refers to the value of the particular user profile.
Step 2:
You will have some url on the email.
For example,
Profile.aspx: It must have some master page right.
There check the Session value of the whole application.
Session["UserId"].
If it is empty. then redirect to the Login Page.
So, the user must log in to the application.
Step 3:
Retrieve the value of Session["UserProfileValue"] on the login page
Then, Re-direct to the profile page by passing that particular value of the profile.
Thanks & Regards,
Santhi .V
Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator