Hi guys
iam new to umbraco and only 2 months old in umbraco 7.5.
In my website i have 2 areas public and member. For a user to become member they need to undergo signup process. Under this process we are sending an link in an email to the user and when they click on the link which is a link to rendermvccontroller action method. i am able to get the data which is stored as md5 hashed string but iam unable to redirect him to home page which is public page. Home is documentType.
Also if link is not valid then where to navigate the user so that he knows that link is invalid or expired.
Can you guys help me with this.
Redirect from rendermvccontroller
Hi guys iam new to umbraco and only 2 months old in umbraco 7.5.
In my website i have 2 areas public and member. For a user to become member they need to undergo signup process. Under this process we are sending an link in an email to the user and when they click on the link which is a link to rendermvccontroller action method. i am able to get the data which is stored as md5 hashed string but iam unable to redirect him to home page which is public page. Home is documentType.
Also if link is not valid then where to navigate the user so that he knows that link is invalid or expired. Can you guys help me with this.
Hi Rakesh
What is your problem exactly?
To redirect user?
You can use this code:
Hope it will help you, Rakesh.
/Alex
Nops its giving error Message: "DataTokens must contain an 'umbraco-doc-request' key with a PublishedContentRequest object"
Did you get any answer? @rakesh
Hi Azaz,
Please show your code.
is working on a reply...