Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    110
    Thanks
    1
    Thanked 0 Times in 0 Posts

    cookies: how many is too many?

    Hi everyone-

    I've just finished up page that uses javascript to get information like browser, browser version, screen height, and screen width.
    Each of these are written as a cookie (that will expire when the browser closes) - then taken into PHP and written to a database...
    but how many is too many? Will browsers limit the number of cookies from a domain?
    I'm currently using 4 or 5 - but I could potentially see upwards of 7 or 8 cookies - - most session cookies.
    Will I run into problems with this?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Do you really need that many cookies? What exactly are you going to be doing with them? It sounds like you are trying to get stats of your users. If so why are you trying to reinvent the wheel? There are many things out there already that collect stats from the user.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you sure your hosting doesn't already do this for you?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •