Jump to content

cookie too large (OAVARS)


billandr

Recommended Posts

I want to limit the number of OAVARS[] being added to a user's cookie.  every page refresh adds a new one.  What is the best way to prevent this or set a limit?  Either prevent it or limit the number (e.g. check during the Max_AddCookie() function)

Edited by billandr
added more context to subject
Link to comment
Share on other sites

btw: as noted to other users have a similar problem - it eventually (after several page refreshes) - maxes out the cookie size - which then leads to failure.

Am using avw.php; although there are other methods; isn't there a way (or has someone already done this) modified the Max_cookieAdd() to check the number already there and remove one of the first ones first; then adding the new one?

For me; there never should be "site broken" - just because someone hit F5 too many times on a page that renders a single Ad. (not using any capping)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...