如何重定向到谷歌重定向像URL的另一个aspx页面 [英] How to redirect to another aspx pages in google redirecting like url
问题描述
如何重定向到另一个页面,其中有一些垃圾数据在网址中如何发生。
例如,有两个页面Login.aspx和HomePage.aspx,登录后,重定向到另一个页面必须包含一些垃圾文本。
http:localhost:8080:ProjectName / Login.aspx ----> http:localhost:8080:ProjectName /&xwoasdfoiuiof!sdk7788?Login.aspx?fjldkjfadfj!kdfjiu8
还有如何在使用时点击浏览器中的后退按钮重定向到默认页面。
这可以实现通过URL重写
参考
1. URL重写
2. ASP.Net中的URL重写
检查这些链接有很多下面给出一些方法的概念
http://www.aspsnippets.com/Articles/Encrypt-and-Decrypt-QueryString-Parameter-Values-in-ASPNet-using-C- and-VBNet.aspx [ ^ ]
加密查询字符串 [ ^ ]
全局查询字符串加密 [ ^ ]
这不是垃圾文本的加密网址数据,需要另一个页面进行一些处理,浏览器后退按钮重定向到上一页面,其浏览器功能存储历史记录
Hi,
How to Redirect to another page with some junk data inside the url how it happens in google.
For Example there are two pages Login.aspx and HomePage.aspx,After login, redirecting to the other page must contain some junk text.
http:localhost:8080:ProjectName/Login.aspx---->http:localhost:8080:ProjectName/&xwoasdfoiuiof!sdk7788?Login.aspx?fjldkjfadfj!kdfjiu8
And also how to redirect to the default page when use clicks the back button in the browser.解决方案This can be achieved by URL Rewriting
Refer
1. URL Rewriting
2. URL Rewriting in ASP.Net
check these links there are lots of method some are given below for concept
http://www.aspsnippets.com/Articles/Encrypt-and-Decrypt-QueryString-Parameter-Values-in-ASPNet-using-C-and-VBNet.aspx[^]
Encrypting Query Strings[^]
Global Query String Encryption[^]
this is not junk text its encrypted url data which required to another page for doing some process and for browser back button redirect to previous page its browser feature to store the history
这篇关于如何重定向到谷歌重定向像URL的另一个aspx页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!