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 2 of 2

Thread: Cookie Size

  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Cookie Size

    Hi,

    I want to know how we can get the cookie size. In Mozilla firefox i got
    Name
    Value
    Host
    Path
    Expire.

    The same way i want to get cookie size also . Please advise me how can i get it using javascript.

  • #2
    Regular Coder
    Join Date
    Mar 2006
    Posts
    726
    Thanks
    35
    Thanked 132 Times in 123 Posts
    I'm not sure what you mean by cookie size, but you can get the number of characters stored in the value of the cookie with document.cookie.length...


  •  

    Posting Permissions

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