Hello, I believe this is my first post here. I am reporting this as bug, not knowing 100% that it is actually a bug in the OSCMax software. OSCMax version is 2.5.x:
Users of the site in question reported problems that they are unable to log on to their accounts. After a few attempts I was able to reproduce the problem. The problem occurs whenever someone tries to log in without having previously been on another SSL page of the site.
In other words, if someone goes to the homepage, then clicks directly on the "My Account" link to log in, enters email and password and submits, the login page would just reload WITHOUT successful login (and without displaying any error message). However, simply by going to a different page of the site in between, then returning to the login page, already circumvents the issue. The user would then be able to login without problem.
The issue seems to be related to the PHP session and the first SSL page someone calls. If this is an SSL page other than login.php (for example calling the shopping cart page without being logged in), the user would again be able to login without problem afterwards because the login page is not the first SSL page called.
In this connection I also noticed something in the URL in the address bar. The first SSL call has the session ID attached to the URL. For example if this is the login page, it would be:
/login.php?osCsid=b5d633533836353c722d394db6901238
If this is the case, the login will fail. The next page called after that has then still the session ID attached, for example for the homepage:
index.php?osCsid=b5d633533836353c722d394db6901238
But if I return from there to the login page, the session ID will be gone from the tail of the URL (just "login.php") and the login will work.
The session ID is ALWAYS attached to the first SSL page called, no matter which one and is also always attached to the page loaded after that, but not to the third page.
Has anyone run into this problem, does anyone know the actual cause for it, or does anyone have already a solution for the problem?
I have a couple of ideas how I could possibly "duct-tape" the issue but would prefer a more thorough and "clean" solution. Thanks in advance for any help.
Bookmarks