Sorry but in this way I must keep in session all pages the user load
with relative service_id?

On 13 Mag, 05:34, "Dr. Loboto" <drlob...@gmail.com> wrote:
> You should save service_id in session as associative array:
> current_url => service_id. When your controller/action is requested,
> search service_id in session by $this->referer() key. You also should
> be always aware that referrer or session will be empty and be able to
> act normally in this case too.
>
> On May 12, 10:39 pm, byqsri <marco.rizze...@gmail.com> wrote:
>
> > On 12 Mag, 17:02, brian <bally.z...@gmail.com> wrote:
>
> > > On Tue, May 12, 2009 at 4:33 AM, byqsri <marco.rizze...@gmail.com> wrote:
>
> > > > Ok
> > > > But how can I know which service is active in a particular moment?
>
> > > You could make the service_ids the array keys with a value of false,
> > > except the active one.
>
> > I can't to do this because I can have some controller/action that is
> > requested in many services.
> > I must keep an information of active service in the session
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to