Hi
I have an HTML search page that contains a drop-down box with
approximately 78,000 items in it.
The actual content of this select box varies depending upon some of the
parameters a user has chosen, so this needs to be loaded (possibly
several times as they change their parameters) and I've got this
working using AJAX.
However, as you can well imagine, this takes quite some time to get
this data from the database and turn into the select box.
To cut down time, I've put this in the Session("xxx") object held on
the server and this manages to cut it down from 15 seconds to 10
seconds. This tells me that it simply takes quite a lot of time to
transfer this data around the internet.
So...what I'd REALLY like to do is to save it to a cookie. Now, I've
found several examples on the web of how to write and read from cookies
but unfortunately it's not working in my hands. I suspect that it's
something to do with the value for the cookie...
The value would be something like this ("...." implies multiple lines).
value = "Please select a product code nbsp;<select
name=""x""><option
value=""y"">y"</option>.....</select> 78,000products
available".
Any ideas/suggestions would be most appreciated
Griff