Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Passing key from llHTTPRequest

Lex Dix
Registered User
Join date: 6 Jan 2007
Posts: 1
01-31-2007 06:07
Hey.

i want to do the following -
in this moment a object get touch - a hash-key (md5) will be retreived from an url and stored in a variable
from this time, the object is reserved for x minutes to the avatar which touched the object.
if he pays a donation in this time to the object, a webpage should be opened which the hash-key as http-get parameter. is this possible?

I don“t know how to fetch the HTTPRequest output (the key) to a variable, which is needed to build the query-string after payment.

Any ideas?
thx.
Jacques Groshomme
Registered User
Join date: 16 Mar 2005
Posts: 355
01-31-2007 06:40
llHTTPRequest() triggers the http_response event handler.

CODE

key llHTTPRequest(string url, list parameters, string body)


You are looking for the body parameter, which returns the actual page markup. Parse it as needed and assign it to a global variable for use in other events.