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..

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.