Also.. if you know what info gets loaded to the session in what page.. you could check at each page's action that the info isnt already in session as in: (dont feel like coding btw)
function page_a_action{ if(stuff in session) clean(stuff in session) //rest of the code here } 2009/7/19 Carlos Lavin <carloslavi...@gmail.com> > If you need it all at the end of the wizard.. you could just carry it from > A to B to C with a bunch of hiddens...not the most fancy way to do it but > neither is saving it all in session > > 2009/7/19 lapinski <lapinski....@gmail.com> > > >> >> >> Why it doesn't work for you? If you need everything fresh every time a >> user >> starts over, then POST is a solution. >> >> Lapinski >> >> >> Raph-8 wrote: >> > >> > >> > Yes - I'm afraid you missed the point. ;) >> > >> > It's only an example and using $_POST it's not the solution IMHO. >> > >> > On 19 Lip, 15:50, MrMeikel <mrmei...@gmail.com> wrote: >> >> (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 <ra...@epoczta.pl> 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 >> > > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-keep-Session-data-clean-and-not-messed-up-tp24556669p24560643.html >> Sent from the CakePHP mailing list archive at Nabble.com. >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---