Article View: borland.public.cppbuilder.internet.web
Article #1258Re: AResponseInfo->Referer question
From: Ulli
Date: Mon, 04 Apr 2005 07:47
Date: Mon, 04 Apr 2005 07:47
47 lines
2093 bytes
2093 bytes
Hm, why not! First I wanted to have a Keywoard to know that the following is a control string, but I think this solution will be o.k. too - or better ;) Just one other question, ist there a more elegant way to split parameters at the "=" char than with .Pos amd .SubString Thanks Ulli Am Fri, 01 Apr 2005 16:57:57 +0200 schrieb Hans Galema <notused@notused.nl>: > Ulli wrote: > >> switch light 1 -> Browser shows empty page > > Well if you do not want that then when not sending a page > back with the same links ? > >> use back button in browser to go to my link page again >> switch light 1 -> Browser shows empty page >> use back button in browser to go to my link page again >> ... >> >> and I would like to stay on the page. > > Why don't you just use key=value pairs ? > > In index.html > > <a href="Site_1.html">Lighswitching</a> > > In Site_1.html > > <a href="Site_1.html?Light_1=on">Light 1 on</a> > <a href="Site_1.html?Light_1=off">Light 1 off</a> > > If there is not a key=value pair then just send Site_1.html. > Otherwise do the same but first switch a light. > > Hans.
Technical Details
Message-ID:
<opsoo6ljd2gmwg2m@localhost>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost> <424d61f9@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4b33aa1f27c59276 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: AResponseInfo->Referer question References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost> <424d61f9@newsgroups.borland.com> Message-ID: <opsoo6ljd2gmwg2m@localhost> From: Ulli Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Date: Mon, 04 Apr 2005 09:47:33 +0200 User-Agent: Opera7.23/Win32 M2 build 3227 NNTP-Posting-Host: 84.175.129.23 X-Trace: newsgroups.borland.com 1112600859 84.175.129.23 (4 Apr 2005 00:47:39 -0800) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail