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 <[email protected]> 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 <[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
> >
>
>
--
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 [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
-~----------~----~----~----~------~----~------~--~---