Excluding page from Login validation

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
RickSilver
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Jun 22, 2009 5:49 pm

Excluding page from Login validation

Post by RickSilver » Mon Aug 27, 2012 10:47 pm

Our site is set to redirect users to the login page if not logged in. There is a page at the site root level called Verification.aspx that needs to run and it either gives an error or does a redirect to the Login page. However it's not getting executed due to the restriction. Is there a way to exclude this page so its code can run?

Thanks
Rick

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Excluding page from Login validation

Post by jmestep » Tue Aug 28, 2012 6:40 am

It sounds like you have something custom coded because Verification.aspx doesn't come with Able. So you would need to find the code that is calling that page and disable it.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Excluding page from Login validation

Post by david-ebt » Tue Aug 28, 2012 9:50 am

You might check your web.config. You can set the Able site to deny all non-authenticated users with this entry in web.config:

Code: Select all

	<system.web>
		<authorization>
			<deny users="?" />
		</authorization>
If you have something like that, then you also need entries the this one to allow access to pages without being authenticated, like the register page or contact us page:

Code: Select all

	<location path="contactus.aspx">
		<system.web>
			<authorization>
				<allow users="*" />
			</authorization>
		</system.web>
	</location>
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

Post Reply