Hi i want to create an asp.net application where i need to provide specific URL for each user in my website dynamically..
-
Please re-word your question, as it does not make sense.RPM1984– RPM19842010-10-22 05:19:40 +00:00Commented Oct 22, 2010 at 5:19
-
Your edit didnt help, made it worse if anything. Elaborate on your question, don't remove parts of it.RPM1984– RPM19842010-10-22 05:29:33 +00:00Commented Oct 22, 2010 at 5:29
Add a comment
|
1 Answer
You can intercept the HttpApplication.BeginRequest event and check if the Request url is one of your dynamic URLs, and if it is, redirect to a non-dynamic URL, after setting some Session level or QueryString variables.
Alternatively, you could a custom route:
1 Comment
KBoek
Exactly. I think you're looking for URL rewriting. If so, do some Googling and you'll find a dozen articles and samples.