Hello,
I am working on a business directory website where users can create a business listing page which can be visited using a custom path they specify. For example, if they create a listing with a path named "myCompany", people can visit their page using rather than something like
I've read through some of this material so I have a basic understanding of how Application_BeginRequest and Context.RewritePath works, however for my described situation, it seems to me this requires a folder be created on our webserver with an asp index page within every time a user signs up. For example, there will be a "myCompany" folder with an index.aspx page under our root, so when a user goes the Application_BeginRequest can process that page and Context.RewritePath to the appropriate query page. Am I doing this right or is there a better way that doesn't require subdirectories to be created on our webserver?
Also, regarding Context.RewritePath, when it forwards to the appropriate query string page, the content seems to be there, but the CSS presentation of the site gets messed up. What could be causing this?
Thanks for any help !
I am working on a business directory website where users can create a business listing page which can be visited using a custom path they specify. For example, if they create a listing with a path named "myCompany", people can visit their page using rather than something like
I've read through some of this material so I have a basic understanding of how Application_BeginRequest and Context.RewritePath works, however for my described situation, it seems to me this requires a folder be created on our webserver with an asp index page within every time a user signs up. For example, there will be a "myCompany" folder with an index.aspx page under our root, so when a user goes the Application_BeginRequest can process that page and Context.RewritePath to the appropriate query page. Am I doing this right or is there a better way that doesn't require subdirectories to be created on our webserver?
Also, regarding Context.RewritePath, when it forwards to the appropriate query string page, the content seems to be there, but the CSS presentation of the site gets messed up. What could be causing this?
Thanks for any help !