Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all, suppose a link and a password are emailed to a user to activate the user's account after he/she registers to become a site member. A GUID is created and stored on a database. This same GUID is appended to the end of the link like the following:
C#
href="activateaccount.aspx?activatekey="sendform&uid=36308&aid=67b2f40abcd35602b422103c407443d4"


When the user follows this link, how can I extract the GUID from the link inside of the activateaccount.aspx page for verification purposes? Thanks in advance.
Posted
Updated 20-Sep-12 2:11am
v4
Comments
Kuthuparakkal 20-Sep-12 8:05am    
Use Query String

1 solution

C#
Request.QueryString["aid"];
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900