Web, server side agent, http header

hello,after searching this forum and a longer test period I still can not achieve the solution for the following:

I have a server-side agent (script) which computes some values from the params delivered by the context doc and then prints a page:

print “[go_somewhere?openpage&something=123]”

Now I would like to set the http response header (cookie) so that browser can read and display the value(s).

I don’t like to put them in the url.

How to do that?

Thank you, Robert

Subject: web, server side agent, http header

Robert,

As far as I remember, you can build the whole code of the html page through your agent using print statements !

So you can create either a meta http-equiv tag with your url in the header, or a javascript statement with window.location=yourURL.

Example :

Print “Content-Type:text/html”

Print “”

Print “”

your meta tags can come here as well as your javascript code

Print “”

Print “”

put whatever you want or need here. Can be empty too

Print “</body”

Print “”

Hope this helps

Renaud