studgate Posted December 29, 2010 Share Posted December 29, 2010 hey guys, I am trying to setup a session for a filter , I have a button that the user can click on or off, the button starts off but when the user clicks on it a new session starts and it stays on until the user clicks it again to turn it off or when the browser sessions ends... Any help is welcome, thanks guys, you are the best Quote Link to comment https://forums.phpfreaks.com/topic/222863-browser-session-help-needed/ Share on other sites More sharing options...
revraz Posted December 29, 2010 Share Posted December 29, 2010 Any help with what exactly? Don't really see a question and no code at all is posted. Quote Link to comment https://forums.phpfreaks.com/topic/222863-browser-session-help-needed/#findComment-1152401 Share on other sites More sharing options...
studgate Posted December 29, 2010 Author Share Posted December 29, 2010 how do I set/unset a session from a click button? on/off button...thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/222863-browser-session-help-needed/#findComment-1152404 Share on other sites More sharing options...
revraz Posted December 29, 2010 Share Posted December 29, 2010 http://www.php.net/manual/en/book.session.php session_destroy session_start Quote Link to comment https://forums.phpfreaks.com/topic/222863-browser-session-help-needed/#findComment-1152421 Share on other sites More sharing options...
studgate Posted December 30, 2010 Author Share Posted December 30, 2010 Easier than I thought, thanks for the pointer... If anyone needs the solution, please let me know Quote Link to comment https://forums.phpfreaks.com/topic/222863-browser-session-help-needed/#findComment-1152839 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.