Jérôme TEXIER wrote:
> Very weird behavior indeed... Does it really redirect to
> http://yourdomain/favicon.ico ?

Yeah, i know its strange.. no ides but it was going directly to the 
favicon - both in dev and prod environments. And i changed something, i 
dont recall what now, and it started going to a css file!

> 
> Take a look to executeSignin function in plugins/sfGuardPlugin/modules/
> sfGuardAuth/lib/BasesfGuardAuthActions.class.php, you'll see that
> after signin, redirection is send to :
> - an url set in app.yml (if defined)
> - or referer
> - or homepage
> 
> Try to check in dev mode & logs to see what really happens.

Well the first thing i did was look at the logs and the code. There was 
nothing in the logs other than the redirecting entry to whatever file. I 
even wen as far as to set loggers in the setReferrer method but nothing 
was ever flagged (probably user error on my part there).

Anyhow i final fixed it - sort of. I didnt have a success_signin_url set 
  and after i did that it behaved. However, I thought i worked without 
setting that, defaulting to @homepage or referrer. I say its sort of 
fixed because i havent had time to test it on an interior page after a 
time out or an attempt to go directly to tha page's url.

> 
> 
> ProdigitalSon a écrit :
>> Im not sure whats causing this but my signin action action keeps
>> redirecting to favicon.ico. It would seem that somehow the referrer is
>> getting set to this, but i cant figure out why or where in the stack
>> it is occurring. This is also a recent problem in this one project.
>> But i havent made any changes recently that effect the user, actions,
>> or routing for sfGuard.
>>
>> Has anyone else ever seen this behavior?
> > 


-- 
Ant Cunningham
Graphic Designer | Web Developer
Vector Based Design
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to