[horde] Meta Refresh or XMLHttpRequest

Greg Rundlett grundlett at savaje.com
Fri Sep 9 14:40:32 PDT 2005


Chuck Hagenbuch wrote:

>Quoting Greg Rundlett <grundlett at savaje.com>:
>
>  
>
>>If I want to reload a page, what facility does Horde framework give me
>>to configure a meta refresh tag?
>>    
>>
>
>Most common-header.inc files include something like:
>
>if (!empty($refresh_time) && !empty($refresh_url)) {
>    echo "<meta http-equiv=\"refresh\" 
>content=\"$refresh_time;url=$refresh_url\" />\n";
>}
>
>So just set those two variables if you've used the same 
>common-header.inc strategy.
>
>  
>
>>As an alternative, is there anyone who can point out how to use
>>XMLHttpRequest in Horde...I've looked quickly at the
>>services/portal/index script and I'm wondering if there is anything more
>>I can look at for an example.
>>    
>>
>
>You want portal/sidebar.php instead. Also see horde/js/httpclient.js.
>
>-chuck
>
>  
>
Thanks Chuck :-)  I searched for meta to begin with, but I must have 
only searched *.php and left out *.inc so I didn't  find or think of the 
header.inc  Works like a charm.

-- 
Greg Rundlett

Release Engineering Team
SavaJe Technologies
(978) 259-2029

[random sig fortune]
I am not an Economist.  I am an honest man!
		-- Paul McCracken



More information about the horde mailing list