All subdirectories handled by one aspx page.

C

codeboy

I’d like to have my users point their browsers to subdirectories that do not
exist and have them all handled by one aspx page. For example if a user
trays to go to www.mysite.com/fakedir1, www.mysite.com/fakedir2, or
www.mysite.com/fakedir3 they will all be handled by
www.mysite.com/mypage.aspx. I don’t know what fake directories will be
needed so I’d like it to happen for all sub directories. I’d also like the
user to think they are actually in the dir. So the browser will need to
continue to reflect the dir they actually requested.
 
G

Guest

I’d like to have my users point their browsers to subdirectories that do not
exist and have them all handled by one aspx page.  For example if a user
trays to go towww.mysite.com/fakedir1,www.mysite.com/fakedir2, orwww.mysite.com/fakedir3they will all be handled bywww.mysite.com/mypage.aspx.  I don’t know what fake directories will be
needed so I’d like it to happen for all sub directories.  I’d also like the
user to think they are actually in the dir.  So the browser will need to
continue to reflect the dir they actually requested.  

This technique called URL Rewriting, see more
http://www.google.com/search?q=url+rewrite+asp.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top