Page 1 of 1

need to change Redirect login

Posted: Fri Oct 17, 2008 5:31 am
by frosty
we have created our own login page. It's address is "/login/" ie not "/login.aspx"

I cannot find a redirect setting in the web.config. Ideally i'd like to do something like

<authentication mode="Forms">
<forms name="Able"
loginUrl="~/login/default.aspx"
timeout="15"
protection="All"
cookieless="UseCookies"
path="/"/>
</authentication>

Re: need to change Redirect login

Posted: Fri Oct 17, 2008 10:07 am
by mazhar
You can do this job as below

Code: Select all

<authentication mode="Forms">
			<forms timeout="90" slidingExpiration="true" name="AC7.ASPXAUTH" loginUrl="~/login/Default.aspx" />
		</authentication>
Also after this change you need to change the login page URL of the login icon in the header and change the following entry in the App_Data/ablecommerce.config file

Code: Select all

<add path="Login.aspx" />
to

Code: Select all

<add path="login/Default.aspx" />

Re: need to change Redirect login

Posted: Mon Oct 27, 2008 3:58 am
by frosty
thanks, all working