close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I have an Error Loop in my Security Pages. Here is the Error message : This webpage has a redirect loop The webpage at http://www.fmeducation.com/regLogin.php?accesscheck=%2FwherePage.php%3Faccesscheck%3D%252FregLogin.php%253Faccesscheck%253D%25252

Thread began 6/16/2013 11:45 pm by dee | Last modified 6/25/2013 12:21 pm by dee | 3067 views | 12 replies |

dee

I have an Error Loop in my Security Pages. Here is the Error message : This webpage has a redirect loop The webpage at http://www.fmeducation.com/regLogin.php?accesscheck=%2FwherePage.php%3Faccesscheck%3D%252FregLogin.php%253Faccesscheck%253D%25252Fwhere

This webpage has a redirect loop
The webpage at http://www.fmeducation.com/regLogin.php?accesscheck=%2FwherePage.php%3Faccesscheck%3D%252FregLogin.php%253Faccesscheck%253D%25252FwherePage.php%25253Faccesscheck%25253D%2525252FregLogin.php%2525253Faccesscheck%2525253D%252525252FwherePage.php%252525253Faccesscheck%252525253D%25252525252FregLogin.php%25252525253Faccesscheck%25252525253D%2525252525252FwherePage.php%2525252525253Faccesscheck%2525252525253D%252525252525252FregLogin.php%252525252525253Faccesscheck%252525252525253D%25252525252525252FwherePage.php%25252525252525253Faccesscheck%25252525252525253D%2525252525252525252FregLogin.php%2525252525252525253Faccesscheck%2525252525252525253D%252525252525252525252FwherePage.php%252525252525252525253Faccesscheck%252525252525252525253D%25252525252525252525252FregLogin.php%25252525252525252525253Faccesscheck%25252525252525252525253D%2525252525252525252525252FwherePage.php%2525252525252525252525253Faccesscheck%2525252525252525252525253D%252525252525252525252525252FregLogin.php%252525252525252525252525253Faccesscheck%252525252525252525252525253D%25252525252525252525252525252FwherePage.php%25252525252525252525252525253Faccesscheck%25252525252525252525252525253D%2525252525252525252525252525252FregLogin.php%2525252525252525252525252525253Faccesscheck%2525252525252525252525252525253D%252525252525252525252525252525252FwherePage.php%252525252525252525252525252525253Faccesscheck%252525252525252525252525252525253D%25252525252525252525252525252525252FregLogin.php%25252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525253D%2525252525252525252525252525252525252FwherePage.php%2525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525253D%252525252525252525252525252525252525252FregLogin.php%252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525253D%25252525252525252525252525252525252525252FTMPjsr2bu.php%25252525252525252525252525252525252525253F has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
Reload this webpage later.
Learn more about this problem.
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

I think I've caused this by asking WebAssist to manage my pages and then asking DW to authenticate user as well.
Because I need two levels of access, what is the best way for me to go?

Regards
Deeanna

Sign in to reply to this post

Jason ByrnesWebAssist

you cannot mix the WebAssist SecurityAssist behaviors and the DW Authenticate user behaviors, this will not work


you can create user levels in Security Assist by editing the Authenticate user server behavior on the login page. On the Session tab, add the user level column to the list of columns to be saved to sessions when the user logs in, then in the Access Rules manager, you can create access rules based on the user level session.


the redirect loop is happening because you are setting one page to redirect to another that has access rules applied to it, that access rule is sending to another protected page, and another, etc..

Sign in to reply to this post

dee

Is the Login Page you are referring to the first login We created with the Double Opt in System or the login for Students Page (this is my higher level login)

Hi Jason,
I had a look at WebAssist Authenticate User, It seems I need to know about coding to use WebAssist properly. Is this so?
Because I do not know what 'session' means.
I am willing to learn though If you would not mind helping me.

Can the one login page allow Reg.Users into the shop and also stop them entering my Student pages. Therefore allowing the Students to go to the shop and their Student page.All form the one Login page?? I was trying to make two login pages work.
Regards
Dee

Sign in to reply to this post

Jason ByrnesWebAssist

No, you do not need to know code in order to use Security Assist.

Sessions refers to the clients browsing session.

When a user visits your site, they start a Browsing Session. The Session ID is stored in a cookie on the browser to identify that particular user to the server.

Session variables are a way to store information that is unique to each visitor to your site.

By default Security Assist stores the Primary Key Column from your users table to a session variable when a user logs in.

If you edit the Authenticate user behavior, and go to the Sessions tab, you can select other columns to store to a session variable when the user logs in.

What you are asking about is called "User Level Authentication"

see this PDF Tutorial for details on implementing User Level authentication using Security Assist:
http://assets.webassist.com/solutionrecipes/securityassist_user_level_auth_sr.pdf

Sign in to reply to this post

dee

Hi Jason, Your PDF will be incredibly helpful. THank you. Would you please tell me what 'Solution Recipe Support Files located in Order History' is? Regards Dee

Is this something I have already?

AS you may remember I USED the 'Double opt in Registration' using my Reg_tbl, and thanks to you it is all working great. I have an Enrolment form for the Students to use to enrol with and it uses my Enrol_tbl SO in your PDF it asks me to modify my "visitors' tbl I would imagine that would be my Enrol table, Is this assumption correct?

Regards
Dee

Sign in to reply to this post

Jason ByrnesWebAssist

No, this is not something that would have been done in the double opt in tutorial.



  I have an Enrolment form for the Students to use to enrol with and it uses my Enrol_tbl SO in your PDF it asks me to modify my "visitors' tbl I would imagine that would be my Enrol table, Is this assumption correct?  



yes, that is correct.

Sign in to reply to this post

dee

Hi Jason and thank you

before I can begin this quest I need to know what this is below...

'Solution Recipe Support Files located in Order History'

It is a required prerequisite to start.creating the PDF.
Regards
Dee

Sign in to reply to this post

Jason ByrnesWebAssist

you wont be following the tutorial to the letter any way since you are using your own table, so these are not needed.


the basic concepts you need to get out of the tutorial are:

-add a user level column to your table

-edit the authenticate user server behavior to store the user level column in a session variable

- Create access rules for the different user levels you will offer based on the session that is created.

Sign in to reply to this post

dee

Hi Jason. You seem to have more faith in me than I can feel.

So with your trusty instructions - into the wild blue Yonder I go ......who knows what I'll stumble upon..
Regards
Dee

Sign in to reply to this post

dee

Hi Jason, When I followed the instructions I deleted the email and password variables on the login page.

1) I opened the Reg_Login page we created with the Double Opt in System
2) Double clicked the Authenticate User in the Server panel (I have 2 of those).
3) to add the UserLevel, I had to change the table from Reg to Enrol_tbl this deleted the email and password variables. So I cancelled the operation and am now talking to you.
It seems to me I'm using the wrong Login page. I need to make another Login page just for students or at least have a page where they put their Student ID to allow them to then go to paypal and pay for their course. (People who want to Login, fill the enrol form and submit that, If their enrolment is approved they are given a Student ID or something that allows them to pay. Not just anyone wanting to do the course can. We need to check over their credentials to see if they are capable of doing the course first).
I did make another Login page (not using Webasist) but this doesn't seem to be good enough?
You can see I'm got some bravery but am lacking a little in logic. I cannot quite work out how the User Authentication works yet.

Can you assist me?
Regards
Dee

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...