Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default Sessions or Cookies?

    Hey

    Just a really quick 'debate', which would be the better to use, Sessions or Cookies?

    Need it for a little project (Not HabboCMS, i dont think) im doing....

    Thanks,
    Callum
    Back for a while

  2. #2

    Default

    I'd personally say sessions, just for personal preference - then again I think there is reasons both ways why not to use one or the other.

  3. #3
    Join Date
    Oct 2007
    Location
    Luton, England
    Posts
    1,548
    Tokens
    388
    Habbo
    DeejayMachoo

    Latest Awards:

    Default

    Why not use sessions with a remeber me option for a 30 day cookie?


  4. #4
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Cookies.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  5. #5
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Depends. If you need to store information over an exstended period of time cookies. If you want it for the sessions, the very name alone gives you a clue. Technically sessions uses cookies anyway, it just stores a session id which relates to a data set on the server, the big advantage being you can store alot more data with alot more variety without the need for 40 cookies

  6. #6
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Surely an issue with cookies is people can easily change/modify there values with addons like add/edit cookie for firefox. Sessions rely on the sessionID and a server-side dataset meaning the user can't change the variables.

Posting Permissions

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