从链接中提取数据 [英] Extracting Data From a Link
本文介绍了从链接中提取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,假设在他/她注册成为站点成员后,会通过电子邮件将链接和密码发送给用户以激活用户的帐户. GUID已创建并存储在数据库中.相同的GUID会附加到链接的末尾,如下所示:
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:
href="activateaccount.aspx?activatekey="sendform&uid=36308&aid=67b2f40abcd35602b422103c407443d4"
当用户单击此链接时,如何从Activateaccount.aspx页面内部的链接中提取GUID以进行验证?预先感谢.
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.
推荐答案
Request.QueryString["aid"];
这篇关于从链接中提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文