alvarito Posted November 25, 2008 Share Posted November 25, 2008 Hello everybody As preface of my subject, I know all about sessions and cookies but that is not yet solving this problem: The scheme is: 1.Search form---------->2. Results list page with links-------------> Click on any link and get detailed info for every row you click----->3. Now at theDetail page---------------->4. Now I want to go back to page (2) (Result list data are gone) that is the problem. That is, the user might want to see more results from page 2, but they are gone. So:if I want to return to the Results list page of the tabulated data...the data is gone. They were created by the Posted variables from the Search Form, but because I am not coming from there anymore, my data does not get regenerated. So I thought of passing and passing those variables through all the pages to resend them to the page where they get recreated, but it does not work. However, this website of farmholidays (web made in Typo3) did manage great to do that. You will see the same scheme I describe but they have mastered that to perfection, their data do not get lost. Once on the detail page you still can return an view more results of the search you launched. http://www.farmholidays.com/bundesverband-englischwinter/home/online-booking.html?L=4 That is a challenging but very interesting issue, at least to me. It can be peanuts easy for others. thank you very much Alvaro ============================================================================== Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/ Share on other sites More sharing options...
bluesoul Posted November 25, 2008 Share Posted November 25, 2008 If you've already received the information once you could store them in a $_SESSION variable, then check for it in your step 2 code. Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/#findComment-698661 Share on other sites More sharing options...
alvarito Posted November 25, 2008 Author Share Posted November 25, 2008 no, because the info said that I could not use session variables to transport that kind of data, so if you cannot do it like that, then how, that is why i still need to post it and the replier thought that the reason that was not working was because I was passing large amounts of data, however i only have 1 row in the whole table because i need to see how it works before populating the table. Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/#findComment-698681 Share on other sites More sharing options...
alvarito Posted November 25, 2008 Author Share Posted November 25, 2008 If you've already received the information once you could store them in a $_SESSION variable, then check for it in your step 2 code. Answer to your comment: no, because the reply said that I could not use session variables to transport that kind of data, so if you cannot do it like that, then how, that is why i still need to post it AND the replier thought that the reason that was not working was because I was passing large amounts of data, however i only have 1 row in the whole table because i need to see how it works before populating the db Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/#findComment-698684 Share on other sites More sharing options...
bluesoul Posted November 25, 2008 Share Posted November 25, 2008 Sure you can, $_SESSION can store anything $_GET or $_POST can, it's just a variable. Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/#findComment-698722 Share on other sites More sharing options...
revraz Posted November 25, 2008 Share Posted November 25, 2008 What do you mean "the reply said"? Link to comment https://forums.phpfreaks.com/topic/134195-how-do-u-do-to-avoid-data-being-lost-from-page-to-page-this-way/#findComment-698724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.