I'm strongly leaning towards creating my business's landing page be Default.aspx right inside my AbleCommerce solution. I would create my ablecommerce store page as store.aspx, and you'd get there from a link on the landing page.
The only problem I see with this at the moment is being redirected to Default.aspx upon logging in. I see in the LoginDialog control that upon logging in, "FormsAuthentication.RedirectFromLoginPage(UserName.Text, false);" is called. This function resides in a binary so I can't directly edit This function's summary says that it "Redirects an authenticated user back to the originally requested URL or the default URL."
Is there any place I can set the default URL as 'store.aspx'? I'd like to use the original LoginDialog control if possible as to preserve the rest of RedirectFromLoginPage()'s functionality.
thanks
how to change the default URL to which logging in sends you?
Re: how to change the default URL to which logging in sends you?
You need to adjust one entry in web.config to accomplish this. Edit your website/web.config file and locate following statement
and update it as
This should do the trick and after login redirection will go to store.aspx instead of default page.
Code: Select all
<forms timeout="90" slidingExpiration="true" name="AC7.ASPXAUTH" />
Code: Select all
<forms timeout="90" slidingExpiration="true" name="AC7.ASPXAUTH" defaultUrl="Store.aspx" />
Re: how to change the default URL to which logging in sends you?
lovely! thank you!