# Session (computer science)

### From Wikipedia, the free encyclopedia.

In computer science, in particular networking, a session is either a lasting connection using the session layer of a network protocol or a lasting connection between a user (or user agent) and a peer, typically a server, usually involving the exchange of many packets between the user's computer and the server. A session is typically implemented as a layer in a network protocol (e.g. telnet, FTP).

In the case of transport protocols which do not implement a formal session layer (e.g. UDP) or where sessions at the session layer are generally very short-lived (e.g. HTTP), sessions are maintained by a higher level program using a method defined in the data being exchanged. For example, an HTTP exchange between a browser and a remote host may include a HTTP cookie which identifies state, such as a unique session ID, information about the user's preferences or authorisation level, etc.

[edit]

## See also

- Login

| This computing-related article is a stub. You can help Wikipedia by expanding it (http://en.wikipedia.org/w/index.php?title=Session_%28computer_science%29&action=edit).

Retrieved from "http://en.wikipedia.org/wiki/Session_(computer_science)"

Categories: Computer stubs

##### Views

- Article
- Discussion
- Edit this page
- History

##### Personal tools

- Create account / log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages

##### In other languages

- Deutsch