Do not do that! Do not expose your user tables primary key like that
for every to see!

Please explain why you would like to do this?
   John

On Mar 21, 8:39 pm, cpeele <[email protected]> wrote:
> Hey guys,
>
> I have checked the manual and I still find it a little confusing as
> far as how to use the hidden input control.
>
> I have a session variable named User.user_id that I want to put in the
> hidden input helper but can't seem to get it to work.
>
> I have tried the following: echo $form->hidden('user_id', 
> $session->read('User.user_id')); but this does not work. I checked to ensure
>
> that there was indeed something in the session beforehand.
>
> Could someone please help me out with this?
>
> Thank you!
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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