🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AResponseInfo->Referer question

#1252
From: Remy Lebeau (TeamB)
Date: Fri, 01 Apr 2005 18:13
24 lines
1987 bytes
<Ulli> wrote in message news:opsojsglxqgmwg2m@localhost...

> The main problem is, that if I click on a link to switch
> the light, I don't want to change page in browser.

You have to.  Every time you click on a link, it is a new page request, and
a new download.  Whether you send the same page data or not, that is up to
you.  But you do have to resend it each time the URL is re-requested.

> Therefore I like give back the current page. But this works just one
> time, because as I already explained on click at the same link I get
> first the the current htm page in the "Referer" and on the second
> click "DoSomething..."

You are not supposed to be relying on the Referer like that to begin with.
You are supposed to be looking at the actual requested URL instead.
Whenever you send the page data, simply make sure that the link the user
clicks on is the page you want.  As I already explained earlier, the Referer
is doing what it is supposed to be doing.  The Referer is not the problem.
Your reliance on it is.


Gambit
Technical Details
Message-ID: <424d8ef2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.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
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost>
Subject: Re: AResponseInfo->Referer question
Date: Fri, 1 Apr 2005 10:13:33 -0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <424d8ef2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112379122 68.69.17.41 (1 Apr 2005 10:12:02 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail