Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

http referrer

 [1/4] from: mat::eurogamer::net at: 11-Dec-2000 17:28


Folks, I've a need to submit a form in Rebol, using the latest (excellent) cookie-client.r script. I find the response I get back demands that I use the form on their site. I imagine this would be something to do with the http referrer field? Is there some way of setting this? -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com

 [2/4] from: rchristiansen:pop:isdfa:sei-it at: 11-Dec-2000 11:44


If you probe the cgi object, you should be able to see all of the cgi variables as REBOL understands them in the cgi object. http_referrer should be among them. I would guess you could set this variable and pass it to the executable.

 [3/4] from: kevin:sunshinecable at: 11-Dec-2000 9:53


On Mon, 11 Dec 2000, Mat Bettinson wrote:
> Folks, > > I've a need to submit a form in Rebol, using the latest (excellent) > cookie-client.r script. > > I find the response I get back demands that I use the form on their > site. I imagine this would be something to do with the http referrer > field? Is there some way of setting this?
Mat, I ran into the same thing sending text messages to my PCS cell phone via my provider's website. If you have a look at my %pcspager.r script at http://www.rebol.com/library/html/pcspager.html you'll be able to see how I handled it. Hope this helps. Best regards, Kev

 [4/4] from: mat:eurogamer at: 11-Dec-2000 19:10


Heya Ryan, RCC> If you probe the cgi object, you should be able to see all of the cgi RCC> variables as REBOL understands them in the cgi object. http_referrer RCC> should be among them. I would guess you could set this variable and RCC> pass it to the executable. I think you misunderstood - I needed to tell a CGI script that was not mine, on a remote machine, what the referer was. This is a http header element and one that can be slapped into net-utils/export HTTP-Post-Header "^/" etc. -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com