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
Excluding page from Login validation
-
- Lieutenant (LT)
- Posts: 66
- Joined: Mon Jun 22, 2009 5:49 pm
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Excluding page from Login validation
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
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
Re: Excluding page from Login validation
You might check your web.config. You can set the Able site to deny all non-authenticated users with this entry in web.config:
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
<system.web>
<authorization>
<deny users="?" />
</authorization>
Code: Select all
<location path="contactus.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>