The problem is as following, as I described to Opera:
ASP session makes more cookies then Opera can hold
Background:
I've met a big problem. Since I'm using Ajax to keep some selected parts of my site up do date with out user interaction, new ASP session cookies are created more often. I think my host, that host my site on a shared Windows server, from time to time (the interval can variate) creates new ID's for sessions, and then a new cookie is sent to the browser. When this happen, the old cookie isn't deleted. These cookies doesn't contain any expiration date, but only the date for the last time it was used. The case then is that no unused session cookies aren't deleted before the browser is closed and re-opened by the user.
My problem:
Since I want users to stay logged on to the site and my forum, I allso use cookies for this. A custom cookie is sent to the browser that keeps a user code so my site can identify and check if the details are ok. When new session cookies are made, the login cookie keeps getting pushed down on the list. At last there is 30 cookies stored. What happens then is that the login cookie falls out of the list. After that, there is no way to write a new login cookie even when it doesn't excist in the browser any more, and I get strange errors. The only way to log on again, is to close and re-open the browser.
How can this be avoided? Is there a bug in Opera since the login cookie doesn't appear on top of the cookie list again? I understand that there is a limit of how many cookies the browser can hold.