Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Web server help

If you have a question or need help, this is the place to be.
Post Reply
hedg12
Posts: 1
Joined: Wed May 12, 2010 6:32 pm

Web server help

Post by hedg12 »

OK, so I'm new to EG - love it! I've been playing around with the web server plug in & am having some strange problems. I ultimately want to be able to trigger various PC controlled animation routines for my Halloween display through my ipod touch. I've successfully created macros to receive button presses from a test page & launch the routines through hot keys. Where I'm having a problem is with the page caching.

Windows XP Pro SP3, EG 0.3.7.r1462 (Windows is running in a Virtualbox VM on Mac OS X host, if that matters.)

Here's my web page code:

<html>
<head>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE, must-revalidate"/>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"/>
<title>EventGhost Webserver example</title>
</head>
<body>
<br><br><br>Example Haunt Control
<table border="0">
<tr>
<td width="250"><a href="index.html?1"><img border="0" src="1.jpg"></a></td>
<td width="250"><a href="index.html?2"><img border="0" src="2.jpg"></a></td>
<td width="250"><a href="index.html?3"><img border="0" src="3.jpg"></a></td>
</tr>
</table>
</body>
</html>

When I try to run the page on my ipod touch, each button only works once. If I refresh the page it sends the last button pressed. What's really weird is that if I run the page on my ipad, the buttons work fine for 20 - 30 presses, then start skipping every other button press.

When the presses fail (on both the ipod and ipad) eventghost doesn't log anything.

Is there something I'm missing?
Thanks.
Diabl0570
Posts: 30
Joined: Sun Feb 28, 2010 6:05 pm

Re: Web server help

Post by Diabl0570 »

i had kind of the same problem,

try this code:

Code: Select all

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
   <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
put it betwene the <head> </head> tags

good luck!
Post Reply