Is there a way to pass a variable from a javascript function to another page? I want to retrieve the value of this variable using the request object.

Any advice will be greatly appreciated. Thanks.