[mapserver-users] Time & Refresh

Andrew Haigh lists.ahaigh at dsl.pipex.com
Thu Aug 8 12:51:44 EDT 2002


Assuming that you want to reload the page you can include the following 
line in your HTML Head object:

<meta http-equiv="refresh" content="5; url=http://www.myhost.com/cgi-bin/mapserv?........">


You'll need to write out the refresh url at page creation time either in 
PHP or using JavaScript  i.e.:

<html>
  <head>
  <script language="JavaScript" type="text/javascript">
     // Write out meta tag
     document.write('

<meta http-equiv="refresh" content="5; url=http://www.myhost.com/cgi-bin/mapserv?........">

')
   </script>
   <title>My Map Page</title>
   </head>
   etc

If you want to just reload an image, you can use javascript timer.

Hope this helps,

Andrew

ALI OSKUE wrote:

>Dear Users,
>
>I like to know how can I automatically upload my home
>page to client who has opened and is watching to that
>every X minutes as regular. X can be any time interval
>like 1,5,10 minutes and so on.
>
>Thanks,
>
>A-K-Oskue.  
>
>__________________________________________________
>Do You Yahoo!?
>HotJobs - Search Thousands of New Jobs
>http://www.hotjobs.com
>
>  
>







More information about the mapserver-users mailing list