zssz Posted October 27, 2008 Share Posted October 27, 2008 I currently have a website in which requires users to obtain a unique link (would look like http://www.somesite.com/login.php?uid=129sad838jadg943), the ?uid= part would be random each time they would want to login (the ?uid= is also unique to every user). This link expires every hour, whether they use it once they obtain it or not. If they have the correct uid, three or four session variables are set. My problem is that some of my users computers don't like to save session information. Their uid will "log them in", but they wont be able to see any of the content you are able to access once you login. It only happens on certain users and their computers. One of them purchased a new computer over the time this site has been up and running, and they can now login. I have checked with the users that they can accept cookies and that they allow the site to utilize cookies, but they still cannot "login." People experience this with both IE and Firefox. They also say that other sites "Remember Me" checkboxes do not work--I think these two are tied together. Is there anything I can tell them if they have this problem? Like how to fix it? Is there anything in my code that I can do differently (I know this is hard to tell) so that they will be able to login? Thanks. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/ Share on other sites More sharing options...
DarkWater Posted October 27, 2008 Share Posted October 27, 2008 All they need to do in order for sessions to work is make sure that cookies are enabled. =/ Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676171 Share on other sites More sharing options...
zssz Posted October 27, 2008 Author Share Posted October 27, 2008 They have. I cannot reproduce their senerio (?), but I do trust a few of these users when they confirm to me that they have cookies enabled. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676172 Share on other sites More sharing options...
DarkWater Posted October 27, 2008 Share Posted October 27, 2008 It's "scenario". And it has to be cookies on their end, because the rest of the 'magic' happens on the server and requires nothing from the user other than a valid session ID cookie. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676173 Share on other sites More sharing options...
zssz Posted October 28, 2008 Author Share Posted October 28, 2008 Hmm. Is there a special internet setting you need to set to allow cookies from sites? I have had a user show me a screen shot from IE Settings that shows the "slider" at the mark that accepts 1st party cookies and he still wasn't able to login. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676180 Share on other sites More sharing options...
DarkWater Posted October 28, 2008 Share Posted October 28, 2008 IE6 or IE7? Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676187 Share on other sites More sharing options...
zssz Posted October 28, 2008 Author Share Posted October 28, 2008 I don't know exactly, I'd imagine IE7 since it had the vista look to it. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676189 Share on other sites More sharing options...
DarkWater Posted October 28, 2008 Share Posted October 28, 2008 I'm pretty sure the slider has to be on "Medium" or lower, but I don't use IE so I'm not sure. Link to comment https://forums.phpfreaks.com/topic/130359-php-and-sessions/#findComment-676193 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.