tomdelonge Posted January 29, 2009 Share Posted January 29, 2009 Alright. Pretty simple idea. Say a user pushes the submit button (on this little message form I have). After processing, it automatically redirects to the page again. (They need to be on that page right after). I want the page to be the exact same except have a div element that says "thanks for your message" or some other thing. At any rate, could I pass it through a session? Or what... Link to comment https://forums.phpfreaks.com/topic/142887-best-way-to-pass-information/ Share on other sites More sharing options...
genericnumber1 Posted January 29, 2009 Share Posted January 29, 2009 A session would probably be the safest bet. If it isn't sensitive information (a search perhaps?), passing it (via GET) in the URL is likely the better choice. Link to comment https://forums.phpfreaks.com/topic/142887-best-way-to-pass-information/#findComment-749137 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.