I would try this:Īt the top of your protected pages change the bottom snippet to: if (allow_access(Users) != "yes") It is a subtle difference, but an important one (especially as you are protecting all pages). Your script is trying to still redirect them even if they are allowed to view the page (which is causing the loop problem). If they are not (i.e not logged in) - redirect them to your login page.If they are allowed to, just let them view the page without interruption.You should check if they are allowed to.However you have included the index.php as a page in the $_SESSION variable. I think the problem is that I assume you are trying to protect 'all' pages which also include the index.php. If ($min_pass > strlen($pass) || $max_pass function to check the length of the requested passwordįunction password_check($min_pass, $max_pass, $pass) $_SESSION = "Administrators" || $_SESSION = "Administrators" || $_SESSION = "Administrators" || functions that will determine if access is allowed I wonder if someone can see what the issue is with this process/script.įirst at the top of each page that is protected: Below are the key elements of the login process. The browser will report something like the following: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." Others have reported this issue too. We will gladly reply to your enquiry as soon as possible once we receive the above information.I have a login script which generally works for me, but occasionally goes into an infinite loop on redirecting after checking the cookie stored for login. The page from which you are experiencing difficulties, and Screen shots showing the full browser window of: The Canada Revenue Agency business number, and If you keep experiencing technical difficulties after verifying the above information, we invite you to resend your enquiry to and include : Lastly, in order to avoid forgetting or losing your login credentials, we suggest that you store your username, password and security questions in a secure location. We recommend that you use the above mentioned link instead. In the event that your session expires, please avoid accessing your account from the page where you are automatically redirected to. This will help prevent unauthorized access to your account. When you have arrived at the Employer Portal landing page, you will see the heading Employer Portal with the following login button options:įurthermore, we recommend that you always sign out and close your browser once you are done your session. Once the above steps have been verified, make sure to use this link in order to access your account through the Employer Portal landing page. Reopen browser and try to log into your account, andĪvoid the use of mobile devices such as tablets and smartphones to access our online services. Reopen browser and clear your browser cache, We invite you to consult our Help Centre for more information on how you can update it,Īvoid accessing our online services from a favorite link or bookmark and delete any previously saved favorite links and/or bookmarks as the website address may be different than the current one,Ĭlose your browser (log out of all existing sessions), Make sure you are using an updated version of your internet browser. We invite you to consult the following list of tips as they might help resolve the issue you are experiencing: If you cannot access the Employer Portal, it may be due to different technical issues. C'est la vie.įollow the steps religiously before and after every attempt to log in and if you find a device you can log in with, keep it as that being it's only purpose. I eventually got my boss through that loop by a combination of a tablet that had never attempted it before and a link emailed to me by the IRCC.Ĥ months late on the payment of the employer compliance fee so, there's a chance they'll deport me.
0 Comments
Leave a Reply. |