Re: [fw-general] Problem with setRedirect() -- it's not redirecting

2009-08-31 Thread Ralph Schindler
Hmm. $response-setRedirect() assumes you are providing it a url so its probably best if that were an absolute path. Also, it does not stop the dispatchloop from executing, so you might have to do $request-setDispatched(true); To get a sense of how redirecting is handled, you might want to

Re: [fw-general] Problem with setRedirect() -- it's not redirecting

2009-08-31 Thread Gregorio
Hi, Ralph: Thanks for taking the time to check this out and for the lead. $response-sendHeaders() seems to have done it. I see what you mean about setRedirect(); Is there a better way than using Response's setRedirect() method? Maybe something that has a signature like this:

[fw-general] Problem with setRedirect() -- it's not redirecting

2009-08-28 Thread Gregorio
Hello, everybody: I've got a controller helper plugin that has a preDispatch method in it. It's checking to see if the user has logged in via an off-site authentication service, and if not, redirects the user to an Authentication controller do that part of the work. However, the redirect isn't