I’m having a kind of weird browser behavior. I would appreciate your help on this. This is the case:
1) User have to login to access a restricted page on my Website. As soon as user login, some values are placed into ‘session’.
2) User fills a form to buy something with credit card. Process goes through well, credit card is charged and the credit card server respond is received by a particular page on my server.
3) The receiving page checks the respond and redirects it to the final received page to show client the final transaction report.
4) Now is the trick part, when all of this is done with Microsoft Explorer, transaction goes well from beginning to end. I repeat the process, one, two, three … times and everything is fine. But when it is done for the first time with Google Chrome or Fire Fox, transaction go well, but at the end, the user cannot see the final transaction report and these two browsers ask the user to login again. I included an ‘alert’ to check if the user is still login, but when trying to displaying the username and data in session, they are empty.
After a second login, everything goes well and user does not have to login again. Now the alert shows the user name and session values.
What is going on here? Does anybody have a clue? How can I fix this? I just ran out of ideas. I would appreciate your help. Thanks
Solved! Go to Solution.
04-27-2015 03:42 PM
Talk to your site developer to see what/how it checking to see if a user is login.
04-27-2015 05:44 PM
If you are using DPM or SIM, you can't use session data, because the session will be different from your server to authorize.net.
Put hte sessiondID on the screen and see if it different on firefox and chrome.
04-27-2015 04:02 PM
Thanks for your response. Now, if I can not use session, why after the second try, everything goes well with Chrome and Fire Fox? And the session values are display as well. I don't get it. And after the second try, when everything is working fine, the values for the session are the same in all browsers.
Thanks
04-27-2015 04:35 PM - edited 04-27-2015 04:37 PM
I have to clarify something here. My 'session' value is only use locally. This value never go to the Authorize.net server. When a response come from this server and it is redirected to the right place, my server call the 'session' value and as I said before it is always there after the second login. My question is why after the second? Why user have to log twice? And this is only with Chrone and Firefox. Thanks
04-27-2015 05:08 PM
If you login again, it is using the same session or a new session?
If it is the same session, there might be something on your site that check for user login. talk to your developer to see what it checking that.
04-27-2015 05:08 PM - edited 04-27-2015 05:11 PM
If user login again the name of the variable is the same of course, but just by login again and go through the coding steps, the code create the session again but with the same value.
04-27-2015 05:13 PM
Talk to your site developer to see what/how it checking to see if a user is login.
04-27-2015 05:44 PM