(Apologies if I have missed the point...) If you only want to save information when the user has gone from pageA directly to pageB, couldn't you use $_POST? Sounds like you're using a form anyway, so just set the target to pageB and check the (correct) information has been passed - ie. posted from pageA.
On Jul 19, 1:43 pm, Raph <[email protected]> wrote: > Let's say I've got an exmaple application, and in this application > there are a few wizards. User goes to one of the wizards, inputs data > in form in step 1, then goes to step 2. Data from step 1 was saved in > session. Now user should do somehting in step 2 and go to step 3, but > he dosen't do that. He clicks "back" button in his browser, or maybe > he types url in address bar and goes to place in the system outside > the wizard. > > The problem is those data in session. It wasn't removed and it still > there. User could go to another wizard and do the same thing and new > unnecessary data appear in session. > > How you handle situations like that? > > -- > Raph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
