Jump to content

How do u do to avoid data being lost from page to page this way?


alvarito

Recommended Posts

 

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

 

==============================================================================

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.