Web Connection
Default to a dynamic page
Hey Rick, How do you default the 'default' page to a dynamic (non-present) file? I can change the web.config to default to something like 'craig.mpg', but I can't get it to kick off to a dynamic page (function) when the app starts up.
For example, I would like for this page to kick-off but not show in the browser url ie "http://localhost/makePetgifts"
Thanks much, Craig
You can set the default page in the config to craig.mpg
, and create an empty page. Then in your code, just don't call ExpandScript()
to actually render the page, but just do your regular code.
You can also set up extensionless URLs for the application. It works but takes a bit of effort and is tricky to get right with complex paths.
More info here:
+++ Rick ---