One unexpected issue I faced recently was that I had Sagepay payment gateway configured on one of my site and it was working pretty straight. But when I moved the whole site to another server, I had to test the site using its IP address:
Now when we complete online payment on site through Sagepay payment gateway,
- It returns back to the site
- Fetches customer details from Session
- Sends an email to the customer
So now (in 3rd step), when it went to fetch Customer Email from session, it didn't get any value. I tried to dump the $_SESSION
array and it was blank.
So my question is: Is it possible that Sessions expire while surfing website through IP address?