dannybrazil Posted July 30, 2009 Share Posted July 30, 2009 Hello Im new to all of this and i have an important question. i have a form that sends variables to the action page in the shape of : www.site.com/action.php?something=something else&etc=etc2... now my question is : is there a way , with SESSION , to pass the same info to the action page BUT with out it being shown in the path/link (action.php?something=something else&etc=etc2...) Thanks Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/ Share on other sites More sharing options...
phpSensei Posted July 30, 2009 Share Posted July 30, 2009 Hello Im new to all of this and i have an important question. i have a form that sends variables to the action page in the shape of : www.site.com/action.php?something=something else&etc=etc2... now my question is : is there a way , with SESSION , to pass the same info to the action page BUT with out it being shown in the path/link (action.php?something=something else&etc=etc2...) Thanks A form that sends variables to a page, but you do not want these variables to be shown in the url.... this sounds like a job for..... $_POST Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/#findComment-886777 Share on other sites More sharing options...
dannybrazil Posted July 30, 2009 Author Share Posted July 30, 2009 Hey I know about the $_post...but im not sending the information to a data base...just to the next page in order to do database query its a search .... www.natalmenu.com/meu-ape Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/#findComment-886781 Share on other sites More sharing options...
dannybrazil Posted July 30, 2009 Author Share Posted July 30, 2009 oww...stuppid me you are right thanks a lot !! Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/#findComment-886786 Share on other sites More sharing options...
cleibesouza Posted July 30, 2009 Share Posted July 30, 2009 Danny, that's what a form does. It submits information from one page to another. If you have the method in your form set to get it will be passed in the url, if you set it to post it will go to the next page but without sending field values through the URL. By the way, are you Brazilian? Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/#findComment-886787 Share on other sites More sharing options...
phpSensei Posted July 30, 2009 Share Posted July 30, 2009 oww...stuppid me you are right thanks a lot !! LOL hehe... its okay bro. Link to comment https://forums.phpfreaks.com/topic/168136-solved-session-help/#findComment-886790 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.