Hi Gonzalo thanks for the answer. 
 
Unfortunately I dont think that will work. The Set method will set the value
for the current request but when the redirect happens that variable is lost
because the redirect is a new request. The only way I can think to do this
is to set the variable into the GET request string or stuff it in the
SESSION. Both of those seem like I am missing something that CakePHP would
do for me if I could find the page in the manual.
 
 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf
Of Gonzalo Servat
Sent: Tuesday, March 03, 2009 3:59 PM
To: [email protected]
Subject: Re: Brain sprain


On Tue, Mar 3, 2009 at 6:55 PM, RhythmicDevil <[email protected]>
wrote:



[..snip..] 



If the device_id is empty I want to send the user back to the 'view'
view (I have to change that name) populated with the Subscriber's
data. For some reason I cant figure out how to do that in a simple
way. Because each call to a view is separate request the data does not
persist. Would someone be so kind as to point out the obvious to me?



Maybe this is what you want:

http://api.cakephp.org/class/controller#method-ControllersetAction

- Gonzalo




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to