1,105,288 Community Members

shorten aspx page code behind on page load..

Member Avatar
korathualex
Light Poster
41 posts since Jan 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

redirecting to aspx page which is quite big..For instance jobreport/Detailedjob/JobRefID.aspx?Jobid=1234 ... i WANT TO shorten it as jobreport/JoBRefid.aspx?jobid=1234 code behind on page load..

Member Avatar
JorgeM
IT Addict
6,378 posts since Dec 2011
Reputation Points: 567 [?]
Q&As Helped to Solve: 951 [?]
Skill Endorsements: 172 [?]
Moderator
Featured
Sponsor
 
0
 

Does the shortler url actually exist? if so then yes from the code behind hou can simple use the response.redirect method. If not and you just want a cleaner URL the In asp.net, you can achieve this by using the URLRewriteModule. You write your rewrite rules in the web.config file.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: