customErrors : should a defaultRedirect be added?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

customErrors : should a defaultRedirect be added?

Post by Mike718NY » Wed Aug 06, 2008 10:01 am

I have to change to "On" because of McAfee :

<customErrors defaultRedirect="Default.aspx" mode="On" />

I noticed there is no redirect page in the default webconfig page for AC7.
Is there any reason why I shouldn't add one?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: customErrors : should a defaultRedirect be added?

Post by mazhar » Wed Aug 06, 2008 12:36 pm

Yes you can do this, this feature will be available in next version of AC. But it would be better that instead of using defaultRedirect="Default.aspx" you must create another page on the root let say it ErrorPage.aspx and then use that page like

Code: Select all

<customErrors defaultRedirect="ErrorPage.aspx" mode="On" />
because on this new error page you will tell the customer that some error has occurred.

Post Reply