Create a cookie using LS - possible?

In a webqueryopen agent, I am checking if the user has the access to read the document using LS. If continue = false then I want to set this data in a cookie will be read by javascript on onload event of the form to redirect the user another page.In order to do this, can I create a cookie using lotusscript.

Thanks in advance.

Baris

Subject: create a cookie using LS - possible ???

There is a sample in the sandbox that creates cookies…cant remember if exactly how its done, but you can check it out if you like.

I think the sample is called Doclink Cookies or something like that