TheJoey Posted September 20, 2009 Share Posted September 20, 2009 hi i have a question. I have a working cart that uses sessions if i want to send that information over to a order form would i use sessions or $_POST & $_GET? Link to comment https://forums.phpfreaks.com/topic/174852-question-about-sessions/ Share on other sites More sharing options...
ozestretch Posted September 20, 2009 Share Posted September 20, 2009 Depends. Is the order for script on the same domain? If so calling the session variable you want will be enough. If it is on a different domain, then POST or GET method should be used. Link to comment https://forums.phpfreaks.com/topic/174852-question-about-sessions/#findComment-921473 Share on other sites More sharing options...
TheJoey Posted September 20, 2009 Author Share Posted September 20, 2009 yeh its on the same domain. So i just add session_start(); to top of my script to continue to session right? Link to comment https://forums.phpfreaks.com/topic/174852-question-about-sessions/#findComment-921477 Share on other sites More sharing options...
ozestretch Posted September 20, 2009 Share Posted September 20, 2009 ehp .... before printed whitespace Link to comment https://forums.phpfreaks.com/topic/174852-question-about-sessions/#findComment-921480 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.