🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1251

Re: AResponseInfo->Referer question

#1251
From: Hans Galema
Date: Fri, 01 Apr 2005 14:57
29 lines
1742 bytes
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: <424d61f9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4b33aa1f27c59276
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 01 Apr 2005 16:57:57 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: AResponseInfo->Referer question
References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost>
In-Reply-To: <opsojsglxqgmwg2m@localhost>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <424d61f9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112367609 129.125.201.248 (1 Apr 2005 07:00:09 -0800)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail