25:
161:
A session ID is typically granted to a visitor on their first visit to a site. It is different from a user ID in 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,
157:
such as HTTP. For example, a buyer who visits a seller's website wants to collect a number of articles in a virtual shopping cart and then finalize the shopping by going to the site's checkout page. This typically involves an ongoing communication where several webpages are requested by the client
177:
is a simple and effective measure as long as the attacker cannot connect to the server from the same address, but can conversely cause problems for a client if the client has multiple routes to the server (e.g. redundant internet connections) and the client's IP address undergoes
158:
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.
169:
and obtain potential privileges. A session ID is usually a randomly generated string to decrease the probability of obtaining a valid one by means of a
173:. 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
153:, a series of related message exchanges. Session identifiers become necessary in cases where the communications infrastructure uses a
97:
69:
186:
116:
165:
As session IDs are often used to identify a user that has logged into a website, they can be used by an attacker to
54:
76:
50:
83:
179:
46:
242:
185:
Examples of the names that some programming languages use when naming their cookie include JSESSIONID (
150:
65:
35:
162:
once the buyer has finalized their order, they cannot use the same session ID to add more items).
39:
8:
197:
90:
209:
170:
154:
166:
130:
226:
236:
221:
174:
145:
is a piece of data that is used in network communications (often over
194:
24:
146:
190:
234:
16:Piece of data that identifies a network session
53:. Unsourced material may be challenged and
117:Learn how and when to remove this message
235:
51:adding citations to reliable sources
18:
13:
14:
254:
215:
23:
1:
7:
203:
180:Network Address Translation
10:
259:
193:), and ASPSESSIONID (
47:improve this article
210:Session management
171:brute-force search
167:hijack the session
155:stateless protocol
135:session identifier
243:Network protocols
127:
126:
119:
101:
250:
149:) to identify a
131:computer science
122:
115:
111:
108:
102:
100:
59:
27:
19:
258:
257:
253:
252:
251:
249:
248:
247:
233:
232:
218:
206:
123:
112:
106:
103:
60:
58:
44:
28:
17:
12:
11:
5:
256:
246:
245:
231:
230:
224:
217:
216:External links
214:
213:
212:
205:
202:
189:), PHPSESSID (
125:
124:
31:
29:
22:
15:
9:
6:
4:
3:
2:
255:
244:
241:
240:
238:
228:
225:
223:
220:
219:
211:
208:
207:
201:
199:
196:
192:
188:
183:
181:
176:
172:
168:
163:
159:
156:
152:
148:
144:
143:session token
140:
136:
132:
121:
118:
110:
99:
96:
92:
89:
85:
82:
78:
75:
71:
68: –
67:
63:
62:Find sources:
56:
52:
48:
42:
41:
37:
32:This article
30:
26:
21:
20:
229:at w3schools
227:"ASP manual"
222:"PHP manual"
184:
164:
160:
142:
138:
134:
128:
113:
104:
94:
87:
80:
73:
66:"Session ID"
61:
45:Please help
33:
175:IP address
139:session ID
77:newspapers
195:Microsoft
34:does not
237:Category
204:See also
107:May 2019
187:Java EE
151:session
91:scholar
55:removed
40:sources
93:
86:
79:
72:
64:
147:HTTPS
98:JSTOR
84:books
133:, a
70:news
38:any
36:cite
200:).
198:ASP
191:PHP
141:or
129:In
49:by
239::
182:.
137:,
120:)
114:(
109:)
105:(
95:·
88:·
81:·
74:·
57:.
43:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.