soycharliente Posted July 6, 2007 Share Posted July 6, 2007 Has anyone using Linux run into a problem of session variables not being passed while using a header redirect? Maybe that's not the problem, but my login script works for every browser that I've tested (Win: FF, IE6/7; Mac: FF, Safari) except FF on Linux. Link to comment https://forums.phpfreaks.com/topic/58717-solved-header-in-linux/ Share on other sites More sharing options...
per1os Posted July 6, 2007 Share Posted July 6, 2007 www.php.net/session_write_close Try that before the header redirect. It is a known problem for some people Link to comment https://forums.phpfreaks.com/topic/58717-solved-header-in-linux/#findComment-291217 Share on other sites More sharing options...
soycharliente Posted July 6, 2007 Author Share Posted July 6, 2007 From the manual: Description void session_write_close ( void ) Return Values Returns TRUE on success or FALSE on failure. How is that even possible? Doesn't that say that it returns nothing? All the notes at the bottom are full of people saying that this function didn't help them. Sidenote: Frost, did you get my PM? Link to comment https://forums.phpfreaks.com/topic/58717-solved-header-in-linux/#findComment-291223 Share on other sites More sharing options...
per1os Posted July 6, 2007 Share Posted July 6, 2007 From the manual: Description void session_write_close ( void ) Return Values Returns TRUE on success or FALSE on failure. How is that even possible? Doesn't that say that it returns nothing? It says it returns true on success and false on failure. But since it is a "void" type it means it really doesn't have to return anything. But either way it works like a void function does, the code is executed and you are not really informed if it worked or not. Meaning it is meant to just close the session, it does not need to tell you if it worked or not. As for the PM, probably but I never save my messages sent. Sorry bud. Link to comment https://forums.phpfreaks.com/topic/58717-solved-header-in-linux/#findComment-291226 Share on other sites More sharing options...
soycharliente Posted July 6, 2007 Author Share Posted July 6, 2007 I was testing on a bud's computer. He denied my cookie. Now it works. @Frost: I reposted teh question underneath the message. Can I/should I send it again? Link to comment https://forums.phpfreaks.com/topic/58717-solved-header-in-linux/#findComment-291242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.