Results 1 to 9 of 9
Sep 25, 2011, 10:26 #1
- Join Date
- Jul 2006
- Fionnphort, Isle of Mull, Scotland
- 1 Post(s)
- 0 Thread(s)
Problem setting a SESSION variable over satellite link
This is not a PHP-only question, but since I'm working in PHP I think it's a good place to start.
I have a web site Holiday Mull with a login for members. Successful login (identification of login name and password) sets a SESSION variable which is used in a conditional to redirect the member to the 'Members' Area' to edit their entries. It works perfectly well except for one member who has a satellite broadband link.
I have established that her login name and password are being recognised, but the SESSION['loggedin'] variable isn't being set. The SESSION is being started OK, I can echo its other contents to her screen before and after login attempts. Since this is all going on at the server, not at her computer, I don't understand how the variable can fail to be set. UNLESS the server needs to refer to the PHPSESSID cookie before it writes anything new to the SESSION ? In which case perhaps the delay in the satellite link results in a timeout.
I'm grasping at straws here, does anyone have any suggestions, please ?Tim Dawson
Isle of Mull, Scotland