[ previous ] [ next ] [ threads ]
 
 From:  zealot <zealot at tradersguild dot net>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] dynamic content from remote host in captive portal?
 Date:  Tue, 26 Oct 2004 16:52:54 -0500
Anthony Townsend wrote:
> hi all - has anyone experimented with schemes for inserting dynamic 
> content into the captive portal page from a remote server?
> 
> for example, how many nodes are in the network, # of people logged on, etc.
> 
> not sure what the mechanisms would be and could use some hints before 
> starting my research

Anthony,

If the remote server is in the same domain as your captive portal, 
consider using JavaScript and XML HTTP Request. It may prove to be a 
lightweight solution (read, quick-n-easy) to get the dynamic content you 
desire. Take a look at www.jibbering.com/2002/4/httprequest.html for 
some examples of how to use the xmlhttprequest object and associated 
methods.

z