edd12345678 Posted March 31, 2012 Share Posted March 31, 2012 Hi Guys, How can I send a session array through the URL and then use the values on the other page to create an SQL query? Any Ideas? Thanks in advance. Ed Quote Link to comment https://forums.phpfreaks.com/topic/260082-send-session-array-through-the-url/ Share on other sites More sharing options...
smerny Posted March 31, 2012 Share Posted March 31, 2012 the whole point of sessions is that you don't have to pass data that way what do you have now and what exactly do you want? Quote Link to comment https://forums.phpfreaks.com/topic/260082-send-session-array-through-the-url/#findComment-1333046 Share on other sites More sharing options...
Nasir Posted March 31, 2012 Share Posted March 31, 2012 You can send the Session Cookie ID, which is not recommended in most cases. Also with PHP you can simply use the sessions without having to pass them as HTTP VARS, just call the session_start() handler. Quote Link to comment https://forums.phpfreaks.com/topic/260082-send-session-array-through-the-url/#findComment-1333053 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.