seconds before redirecting. In general, unless there is some kind of
slow server side processing going on, you would never really want to use
sleep(), during a request.
This effectively will pause the script from running, and during that
time, it will just look like the server is hung. The more ideal
solution is, as they noted, the HttpEquiv. That is a good solution and
very x-browser compatible. Personally, given the environments I target
with my applications, the browsers, and the general availability of
javascript.. this kind of thing would typically be done with a
javascript redirect.
-ralph
Dolf Schimmel 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
>>
>
>
没有评论:
发表评论