• Thomas Churchman
    Thomas Churchman
    2014-02-26

    It does use cookies: it stores a cookie with a session ID. The server keeps a list of those session IDs and their respective data.

    0
  • Jonne Haß
    Jonne Haß
    2014-02-26

    http://en.wikipedia.org/wiki/Session_(computer_science)#HTTP_session_token

    0
  • Jürgen Kleff
    Jürgen Kleff
    2014-02-26

    http://de1.php.net/manual/en/session.idpassing.php

    0
  • Jürgen Kleff
    Jürgen Kleff
    2014-02-26

    ah, and concerning security: http://de1.php.net/manual/en/session.security.php

    0
  • JCF
    JCF
    2014-02-26

    dans ta variable $_SESSION, Tu peux utiliser un PHPSESSID (un genre de guid, id unique) et ajouter un horodatage ainsi que l'id utilisateur pour etre certain de ce que tu fais

    0
  • thefreecat@pod.orkz.net
    thefreecat@pod.orkz.net
    2014-02-26

    One should note that this can also be accomplished (although with much more work) without cookies : just provide the session id on every page, either in the URL or in POST values.

    Also note that in a http (not httpS) context, you have absolutely no guarantee that the user is the one he's pretending to be.

    @Julien-Claude: associer l'adresse IP à la session est une mesure de sécurité minimale et ne coûte presque rien.

    0
  • Brad Koehn ☑️
    Brad Koehn ☑️
    2014-02-26

    Whether you use cookies or query string parameters the token is visible to almost anybody over http. Back before Netscape invented cookies we used the query string. It was such a pain.

    These days you can use local storage, Flash cookies, etc. Cookies work the best though.

    0
  • JCF
    JCF
    2014-02-26

    @JC ha oui mais je ne suis pas contre :D, je n'y avais simplement pas repensé :p

    0