Session ID

Session ID

In computer science, a session identifier or session ID is a piece of data that is used in network communications (often over HTTP) to identify a session, a series of related message exchanges. Session identifiers become necessary in cases where the communications infrastructure uses a stateless protocol such as HTTP. For example, a buyer who visits a seller's site wants to collect a number of articles in a virtual shopping cart and then finalize the shopping spree by going to the site's checkout page. This typically involves an ongoing communication where several webpages are requested by the client and sent back to them by the server. In such a situation, it is vital to keep track of the current state of the shopper's cart, and a session ID is one way to achieve that goal.

A session ID is typically granted to a visitor on his first visit to a site and then for this different from a user ID is that sessions are typically short-lived (they expire after a preset time of inactivity which may be minutes or hours) and may become invalid after a certain goal has been met (for example, once the buyer has finalized his ore can not use the same session ID to add more items).

As session IDs are often used to identify a user that has logged into a website, they can be used by an attacker to hijack the session and obtain potential privileges. A session ID is often a long random-generated string to decrease the probability of obtaining a valid one by means of a brute-force search. Many servers perform additional verification of the client, in case the attacker has obtained the session ID. Locking a session ID to the client's IP address is a simple and effective measure as long as the attacker cannot connect to the server from the same address.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • session — [ sesjɔ̃ ] n. f. • 1657; angl. session; « séance » mil. XVe; « fait d être assis » déb. XIIe; lat. sessio ♦ Période pendant laquelle une assemblée délibérante, un tribunal tient séance. Sessions ordinaires (fixées par la loi). Session… …   Encyclopédie Universelle

  • Session — may refer to:Bureaucracy*Executive session, a portion of the United States Senate s daily session *Judicial session *Legislative session *Session (parliamentary procedure) *Presbyterian polity *Court of Session, the supreme civil court of… …   Wikipedia

  • session — ses‧sion [ˈseʆn] noun 1. [countable] also trading session FINANCE a period of time, usually a day, when buying and selling takes place on the stockmarket: • The Euro slid sharply in the European trading se …   Financial and business terms

  • session — ses·sion n: a meeting or series of meetings of a body (as a court or legislature) for the transaction of business; also: the period between the first meeting of a legislative or judicial body and the final adjournment see also regular session,… …   Law dictionary

  • Session — Ses sion, n. [L. sessio, fr. sedere, sessum, to sit: cf. F. session. See {Sit}.] 1. The act of sitting, or the state of being seated. [Archaic] [1913 Webster] So much his ascension into heaven and his session at the right hand of God do import.… …   The Collaborative International Dictionary of English

  • Session — (lateinisch sessio von sedere, sitzen) ist ein aus dem Lateinischen stammendes und im Englischen übliches Wort, dessen deutsche Übersetzung Sitzung ist. In lateinisch oder englisch geprägten Bereichen ist Session auch im Deutschen… …   Deutsch Wikipedia

  • Session 9 — est un film américain réalisé par Brad Anderson et sorti en salles en 2001. Sommaire 1 Synopsis 2 Fiche technique 3 Distribution 4 Autour du film …   Wikipédia en Français

  • Session — Sf Sitzungsperiode per. Wortschatz fach. (16. Jh.) Entlehnung. Entlehnt aus l. sessiō ( ōnis) Sitzung , Abstraktum zu l. sedēre (sessum) sitzen . Über das Englische ist entlehnt Session Musikveranstaltung mit viel improvisierter Musik .    Ebenso …   Etymologisches Wörterbuch der deutschen sprache

  • session — late 14c., periodical sitting of a court, from O.Fr. session, from L. sessionem (nom. sessio) act of sitting, from pp. stem of sedere to sit (see SEDENTARY (Cf. sedentary)). Sense of period set aside for some activity is first recorded 1920, in… …   Etymology dictionary

  • session — Session. s. f. Seance d un Concile, dans laquelle on decide quelque question touchant la foy, ou la discipline. La premiere, la seconde session. le Concile dans une telle session ordonna, &c …   Dictionnaire de l'Académie française

  • session — [sesh′ən] n. [ME < L sessio < sedere, to SIT] 1. a) the sitting together or meeting of a group; assembly, as of a court, legislature, council, etc. b) a continuous, day to day series of such meetings c) the term or period of such a meeting… …   English World dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”