N
news.rcn.com
How can I access the request and response object for a page using
javascript. I want to stick some data on with something like
request.setAttribute( "User's choice for later use" ).
I can't seem to find a reference to request or response objects in
JavaScript either in Google Groups or O'Reilly's "JavaScript the Definitive
Guide" (surely it should be in the latter, huh?)
I know I could use a hidden form element but the data would be a Parameter
and not stay around long enough; the user may recall the data much later in
the session. I'd rather not have to gather the parameter and reattach it as
an Attribute on the server everytime a page is submitted with data that need
to persist over the invocation of many unpredictable pages.
Thanks for your suggestions.
jim
p.s. I'm avoiding cookies so things will still work if cookies are
disabled.
javascript. I want to stick some data on with something like
request.setAttribute( "User's choice for later use" ).
I can't seem to find a reference to request or response objects in
JavaScript either in Google Groups or O'Reilly's "JavaScript the Definitive
Guide" (surely it should be in the latter, huh?)
I know I could use a hidden form element but the data would be a Parameter
and not stay around long enough; the user may recall the data much later in
the session. I'd rather not have to gather the parameter and reattach it as
an Attribute on the server everytime a page is submitted with data that need
to persist over the invocation of many unpredictable pages.
Thanks for your suggestions.
jim
p.s. I'm avoiding cookies so things will still work if cookies are
disabled.