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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How many Cookies allowed by a site?

    How many cookies can you have running from your site for one machine? Do they sometimes overlap even if they are given different names?

    Duniyadnd

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Iowa / Notre Dame
    Posts
    538
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It says here that each domain is allotted 20 cookies. That site I gave you is a great tut on cookies through JS, though I like cookies in php much better!
    My Site {Mike's Adventures}

    Yikes, forums are almost too much fun.

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well, after i found out that a browser can only have 300 cookies, i somehow felt like it isn't wise to use'em, so i'm mainly using sessions. just my own thing of course, most people are fine with cookies.
    what u can do is make a cookie array, so that u can have different cookies in one variable, and the browser will consider it just one. i know at least that can be done in PHP.
    Last edited by ASAAKI; 04-16-2003 at 12:31 PM.
    'If you don't stand for something, you'll fall for anything.'

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Each domain can set up to 20 cookies, containing up to 4K of data (that's 4k in total, not 4k each). afaik, how you set cookies (js or php) makes no difference to these figures.
    Last edited by brothercake; 04-16-2003 at 12:34 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

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