2009年9月29日星期二

[fw-mvc] Re: re[fw-mvc] direct after secconds?

Peter Warnock-2 wrote:
>
> Dolf:
>
> That was my original thought, but I think the use case calls for sending
> output to the browser, in which the redirect would not work. - pw
>
> On Tue, Sep 29, 2009 at 2:31 PM, Dolf Schimmel
> <dolfschimmel@gmail.com>wrote:
>
>> sleep(3);
>> $this->view->_redirect()
>>
>> On Tue, Sep 29, 2009 at 7:13 AM, sina miandashti <miandashti@gmail.com>
>> wrote:
>> > thanks all...:X
>> >
>> >
>> > --
>> > ________________
>> > Sincerely
>> > Sina Miandashti
>> > MuSicBasE.ir & InvisionPower.ir Admin
>> >
>>
>>
>
>


Isn't that done easily enough using Meta tags?

$this->headMeta()->appendHttpEquiv('Refresh',
'3;URL=http://www.yourdomain.com');

--
View this message in context: http://www.nabble.com/redirect-after-secconds--tp25623693p25673758.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: