yeah Tony I am seeming to get this too :/ someone on IRC said to check that things like favicons are correctly being pointed at and so on.
can anyone post a sample of some redirect Auth code? Luke On Sep 15, 5:21 pm, Tony Thomas <[EMAIL PROTECTED]> wrote: > I did that. Same problem. > > To explain further, if I'm logging in for the first time on a given > day, theredirectworks fine. It's only if I log out or my session > expires and I log back in that the problem occurs. > > On Sep 9, 12:55 pm, "Yodi Aditya" <[EMAIL PROTECTED]> wrote: > > > Try using : > > $this->Auth->loginRedirect = array('controller'=>'users', > > 'action'=>'profile'); > > on beforeFilter() > > > then > > > function login() { > > $this->redirect($this->Auth->redirect()); > > > } > > > Yodiaditya -http://re.web.id > > > On 9/9/08, Tony Thomas <[EMAIL PROTECTED]> wrote: > > > > If someone is familiar with a post to this group or blog entry that > > > addresses this issue, please let me know. I've spent the morning > > > scouring both with no satisfactory results. > > > > I have a cakePHP app on a shared server. In local testing, everything > > > worked fine. But mod_rewrite did not function properly on the shared > > > server, so I'm using CakePHP pretty URLS instead. Also caching (at > > > least temporarily) is off. I've uncommented the pertinent lines of > > > code in core.php and I've dutifully deleted the .htaccess files. > > > > The problem I have is that after logging in, theredirectis > > > inconsistent. About 2/3 of the time I get redirected to > > >https://[base_url]/https:/[domain]. I just can't seem to find away > > > around this problem. > > > > My login function looks like this: > > > > function login() { > > > $this->Auth->loginRedirect = array('controller' => > > > 'controller_name', 'action' => 'index'); > > > } > > > > I still get inconsistent results with theredirectgoing to a URL like > > > the former example the majority of the time. Any insight, links, etc. > > > would be appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---