code_junkie

“URL Rewriting”/Routing with .net 3.0 and IIS 6.0

Nov 13th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. <%
  2.  
  3. Dim id : id = CLng(Mid(Request.QueryString, InStrRev(Request.QueryString, "/")+1))
  4. Response.Redirect "http://someotherserver/applications/something/modules/default.aspx? id=" & id
  5.  
  6. %>
Add Comment
Please, Sign In to add comment