Of course. I always test every important feature in IE/FF/Opera. That
was server's fault.
On 15 фев, 13:29, mscdex msc...@gmail.com wrote:
First of all, HTTP_REFERER is NOT set by my local Apache, or PHP or
whatever. It absent. That's why it didn't work.
Have you tried different browsers?
I'm trying to implement auto login by cookie in Cake 1.2 with Auth
component. It works but this:
$this-redirect($this-Auth-redirect());
*always redirects to index /*, not the page which user requested (for
example /profile/).
I have Auth-loginRedirect disabled and Auth-autoRedirect set
Are you trying to make it go to the referrer? You would have to grab
the referrer yourself and set it to loginRedirect.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
You see, I looked at the Auth component code and it handles
HTTP_REFERRER and saves it in session Auth.redirect. But it doens't
redirect there :-( Don't know why.
Maybe hardcore CakePHP developers know what's wrong with it?
On 14 фев, 16:47, Miles J mileswjohn...@gmail.com wrote:
Are you
Ok I solved the problem:
First of all, HTTP_REFERER is NOT set by my local Apache, or PHP or
whatever. It absent. That's why it didn't work.
What I did:
added in app_controller's beforeFilter:
...
$this-Session-write('Auth.redirect',$this-params['url']['url']);
...
so after this
On Feb 14, 6:08 am, Sergei yatse...@gmail.com wrote:
First of all, HTTP_REFERER is NOT set by my local Apache, or PHP or
whatever. It absent. That's why it didn't work.
Have you tried different browsers? I know some browsers (i.e. Firefox)
allow you to not send referrer information to the