Your second solution (the one setting up a flag) is the best way to do that. Don't forget to set any additional data you need in the session.

What you need to understand is like this: the client does not anything about your program. Period. It does not even know the original data (the one that resides in $this->blablabla). This is called stateless. Therefore, the server must maintain the data within the session variable for cross-page functions.

On 11/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

5555555555555555555

i want to redirect the user
back to the page they were just on,with calling a function in
advance....:(

maybe i should learn more about basic php?





--
Adrian Godong
[EMAIL PROTECTED]

Microsoft Student Ambassador
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to