dadamssg Posted March 11, 2009 Share Posted March 11, 2009 i was wondering if anyone has trouble with safari and sessions? not every time but on some macs the very first query i run that uses a session variable doesn't get set...i dunno what the deal is...only seems to happen in safari though. anyone have any suggestions? or encounter the same problem? Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/ Share on other sites More sharing options...
redarrow Posted March 11, 2009 Share Posted March 11, 2009 surly the safari web site can help. Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782530 Share on other sites More sharing options...
dadamssg Posted March 11, 2009 Author Share Posted March 11, 2009 safari has a page that discusses php sessions? Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782532 Share on other sites More sharing options...
alphanumetrix Posted March 11, 2009 Share Posted March 11, 2009 no, probably not, but apple.com/safari - somewhere on there you can find a developer community that will give you information about how safari renders session cookies. Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782537 Share on other sites More sharing options...
MadTechie Posted March 11, 2009 Share Posted March 11, 2009 Theirs a ton of problems with safari cookies which relates to sessions, removing sessions being a common problem, if the problem is only related to the first time then maybe set a dummy session on the first page! Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782549 Share on other sites More sharing options...
dadamssg Posted March 12, 2009 Author Share Posted March 12, 2009 hmmm like opening a session...destroying it...then opening another one in the same script? Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782584 Share on other sites More sharing options...
MadTechie Posted March 12, 2009 Share Posted March 12, 2009 No need to destory it, I assume something like this is happening Use enters site (no sessions are set) user logs in, first session doesn't get set, user logs in again all is fine.. So. Use enters site (set a sessions ie $_SESSION['dummy']=true;), user logs in, second session does get set Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782588 Share on other sites More sharing options...
dadamssg Posted March 12, 2009 Author Share Posted March 12, 2009 alright sweet, ill have to try that, thank ya Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782613 Share on other sites More sharing options...
redarrow Posted March 12, 2009 Share Posted March 12, 2009 Whale that gold dust as advise. Quote Link to comment https://forums.phpfreaks.com/topic/149023-solved-safari-sessions/#findComment-782621 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.