Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookie with ActiveX API

Status
Not open for further replies.

botatun

Programmer
Mar 7, 2006
40
US
On my home page I use cookie to store previously selected links. It's work fine but it is very limited - only 5 links, because memory size for cookie is limited. Long time ago I saw on web that there is another way to store cookie with some ActiveX APIs. Unfortunately I cannot fined a link to that tutorial.

Is somebody may help me to find some information about that type of cookie?
 
Not an answer to your question but...
ActiveX would be IE specific so may create other problems for you.

As an alternative, you may be able to increase what you track by reducing the size of the data stored.
If the links that you are tracking are links on your own website and have predictable addresses you could make the stored info nothing more than a reference to that address.
For a very basic example if you had a common link of :You could say that the letter A is equivalent to that path and store just that letter. You would have to interpret the letter to know what it represents which means a bit more code on your end but it would give you a LOT more storage.

This only works of course if the addresses are predictable.
You could also use algorythms to condense a link to a much shorter string. This has a lot more flexibility if the links are not predictable and would require less maintenance on your end. It will not provide nearly as much space as the first idea but will give more.

And no, I do not have any algorythms to do this, it is just a thought of a possible approach.

Good luck.

At my age I still learn something new every day, but I forget two others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top