Webserver plugin question
Posted: Sun Aug 21, 2011 8:59 am
Hi there,
I have a question. I've been playing with te webserver plugin but get some strange behavior. When I refreh the page the last event (from a clicked link) is generated again in eg. Is this normal?
For instance: When ik click the first link a event is triggerd ("BuitenlampSchuurSwitch") when I then refresh te page the event is triggered again.
Thanks in advance.
Bart
I have a question. I've been playing with te webserver plugin but get some strange behavior. When I refreh the page the last event (from a clicked link) is generated again in eg. Is this normal?
For instance: When ik click the first link a event is triggerd ("BuitenlampSchuurSwitch") when I then refresh te page the event is triggered again.
Thanks in advance.
Bart
Code: Select all
<html>
<head></head>
<body>
<p>
<a href="?BuitenlampSchuurSwitch">Buitenlamp schuur is {{"aan" if BuitenlampSchuur else "uit"}}</a>
</p>
<p>
<a href="?LampPlafondEettafelSwitch">Lamp plafond eettafel is {{"aan" if LampPlafondEettafel else "uit"}}</a>
</p>
</body>
</html>