[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Another Web xpl question
- Subject: Re: Another Web xpl question
- From: John B
- Date: Sun, 09 Feb 2003 08:23:00 +0000
Hi Tony,
> How do I create a global variable for the session that I can hold the
> currently addressed rio instance in?
You could store it as a session cookie on the client's browser:
To set a cookie containing the session's Rio instance, in your ASP script
put:
Response.Cookies("myRioInstance") = "Rio1"
Then, in any other ASP page throughout the session, to retrieve the Rio
instance, just do:
dim myRio
myRio = Request.Cookies("myRioInstance")
There are other approaches, such as storing session state on the server,
but hopefully cookies should be the easiest to implement.
HTH,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|