heu.. javascript goes in view, you can put this on login screen and if
the user does not use cookie you show the message before he logs
in....

On Jul 4, 10:09 am, dandreta <[EMAIL PROTECTED]> wrote:
> Thanks for your response. But, where I put javascript code?
> In app_controller? In login function? In login view?
>
> On 4 jul, 08:00, francky06l <[EMAIL PROTECTED]> wrote:
>
> > You can use javascript for this. A quick google search gave me this:
>
> >http://www.tec-i.com/gEwCart/HowToEnableJavascriptAndCookies.htm
>
> > Of course, if you have also to check if javascript is enabled .. :-)
>
> > On Jul 4, 2:24 am, dandreta <[EMAIL PROTECTED]> wrote:
>
> > > any solution, please?
>
> > > On 26 jun, 09:42, dandreta <[EMAIL PROTECTED]> wrote:
>
> > > > Hi!
>
> > > > I have used the OthAuth component for the access to my application,
> > > > defining the groups and permissions. If in the browser thecookiesare
> > > > not activated, on login the user cannot enter to the restricted
> > > > functions because the permissions are not loaded in the session. What
> > > > I want is if a user does not have the activatedcookiesa message
> > > > appears indicating that he must activate thecookiesin his browser.
> > > > An example of this would be this google group, where if you do not
> > > > activate thecookiesa message appears saying to you that you should
> > > > activate them. I suppose that I have to add something in the
> > > > beforefilter function of app_controller.
> > > > How can I obtain this?
>
> > > > Thanks and regards
--~--~---------~--~----~------------~-------~--~----~
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