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. Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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.