如何在浏览器中获取页面的URL [英] How to get URL Of a page in browser
本文介绍了如何在浏览器中获取页面的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢
解决方案
您需要使用已部署/托管的URL而不是localhost。
添加可以帮助您的参考
http://mikepope.com/blog/DisplayBlog.aspx?permalink=2267 [ ^ ]
http://www.aspsnippets.com/Articles/Send-user-Confirmation-电子邮件 - 注册后激活 - 链接在ASPNet.aspx [ ^ ]
Hellow pals,i have an application for registering students.One page is called Registration and another one called CompleteRegistration.What am doing is register students and then send to them the link to complete registration in the email.At now, i have coded the url for my locallhost in my page Registration.But the problem is that i have deployed the application but i need someone to explain to me how i can get the url for Complete Registration since now it would has changed and currently when i send an email,it adds the url for the Locallhost which someone cannot access in his browser.
Thanks
解决方案
You need to use the deployed/hosted url instead of localhost.
Adding reference which can help you
http://mikepope.com/blog/DisplayBlog.aspx?permalink=2267[^]
http://www.aspsnippets.com/Articles/Send-user-Confirmation-email-after-Registration-with-Activation-Link-in-ASPNet.aspx[^]
这篇关于如何在浏览器中获取页面的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文