Results 1 to 3 of 3

Thread: Cookie question     submit to reddit submit to twitter

  1. #1
    Been Here Longer Than you
    Join Date
    Jan 2005
    Posts
    35,237
    BG Level
    10

    Cookie question

    Ok...I've looked for this, but cannot for the life of me find the info I am looking for. What does the [1] represent in a cookie file?

    Example: welt@website[1].txt

    Thank you a billion.... _(._.)_

  2. #2
    i'm awesome.
    Join Date
    May 2005
    Posts
    9,218
    BG Level
    8

    It's just an increment, highly dependent on the browser and how the website handles sessions. You visit a site once, it has no [#], second session maybe a [1], subsequent it increments.

    Shouldn't matter though, if you're dealing with cookie files for any reason you're doing something wrong.

  3. #3
    Banned.

    Join Date
    Jul 2005
    Posts
    5,821
    BG Level
    8
    FFXI Server
    Sylph
    WoW Realm
    Arthas

    Quote Originally Posted by Maguspk View Post
    It's just an increment, highly dependent on the browser and how the website handles sessions. You visit a site once, it has no [#], second session maybe a [1], subsequent it increments.

    Shouldn't matter though, if you're dealing with cookie files for any reason you're doing something wrong.
    Not entirely true...

    But as Maguspk pointed out, websites handle cookies and sessions differently. Its up to the coder to designate what data is stored, and your browsers position to determine where. Your answer lies somewhere between these two variables. Although, I will rephrase the bolded part and ask you what you're doing with cookies in the first place, or why this question matters?