Click here to Skip to main content
15,561,685 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Posted

This can be achieved by URL Rewriting

Refer
1. URL Rewriting
2. URL Rewriting in ASP.Net
 
Share this answer
 
 
Share this answer
 
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
 
Share this answer
 
Comments
santoshkumar413 13-Oct-14 7:36am    
@ M.Farrukh Abbasl, Thank u for reply, i want to embedded some text inside the url

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