|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | RE: [ECS] GET problem Dan Hoehnen Sat, 19 Feb 2000 08:21:37 -0500 |
Mark,
First, sorry for the delay, I've been without email for several days. I
think that sounds fine. But, I'm also new to this and since I have not done
what you mentioned, I can't say for sure. Heck, by now, you've probably
figured it out.
Dan
> Hi Dan,
> My server needs to modify any Item States within
> the page to the current. Nevermind though - I just
> realized that I could just REDIRECT withOUT modifying
> the file. Then on the subsequent GET, I return my
> "patched" version of the file (in a temp buffer) to
> the browser. Works fine.
>
> When I later add support for POSTS (to edit Items/Groups/Events),
> I will process the data and then REDIRECT to a temp status
> HTML (e.g. "Item added", etc). The user will then hit the
> browser BACK button. Sound OK ?
>
> tanx
> --
> Mark Gilmore
> Omnipotence (ECS home automation software)
> http://www.usit.com/omnip
> 423-745-0026
>
>
> Dan Hoehnen wrote:
> >
> > Hi Mark,
> >
> > When I do the redirect back to the original file, I don't have
> to modify teh
> > file at all. I just redirect to it and that's it. What is it
> you have to
> > modify? And/or, what happens if you don't modify it?
> >
> > I don't have my own web server built-in, but am using a stand alone web
> > server, like PWS or IIS. So, there may be a difference there.
> >
> > Dan
> >
> > > Another web server problem:
> > > In order to SET an Item State, I must pass a GET command
> > > to my web server, whereby the "name=state" text is appended
> > > to the URL (e.g. "ecs_group_1?light=on").
> > > In order to force the browser to remove the "?...", I am
> > > now doing a REDIRECT back to the original html file.
> > > BUT for this to work, I must MODIFY the original file
> > > (NOT desirable). Any ideas on a better approach ?
> > > There MUST be a better way to make the "?..." go away :-)
> > > Tanx
> > >
> > > BILL - We're all pulling for Larry.
> > > --
> > > Mark Gilmore
> > > Omnipotence (ECS home automation software)
> > > http://www.usit.com/omnip
> > > 423-745-0026
> > >
>
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects