@@ -70,14 +70,14 @@ To create a session, execute the following REST request:
7070 ```
7171 HTTP/1.1 201 Created
7272 Location: /user/sessions/go327ij2cirpo59pb6rrv2a4el2
73- Set-Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2; domain=.example.net; path=/; expires=Wed, 13-Jan-2021 22:23:01 GMT; HttpOnly
73+ Set-Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2; domain=.example.net; path=/; expires=Wed, 13-Jan-2021 22:23:01 GMT; HttpOnly
7474 Content-Type: application/vnd.ibexa.api.Session+xml
7575 ```
7676
7777 ```xml
7878 <?xml version="1.0" encoding="UTF-8"?>
7979 <Session href="/user/sessions/sessionID" media-type="application/vnd.ibexa.api.Session+xml">
80- <name>eZSESSID98defd6ee70dfb1dea416 </name>
80+ <name>IBX_SESSION_ID98defd6ee70dfb1dea416 </name>
8181 <identifier>go327ij2cirpo59pb6rrv2a4el2</identifier>
8282 <csrfToken>23lk.neri34ijajedfw39orj-3j93</csrfToken>
8383 <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/>
@@ -105,7 +105,7 @@ To create a session, execute the following REST request:
105105 ```
106106 HTTP/1.1 201 Created
107107 Location: /user/sessions/go327ij2cirpo59pb6rrv2a4el2
108- Set-Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2; domain=.example.net; path=/; expires=Wed, 13-Jan-2021 22:23:01 GMT; HttpOnly
108+ Set-Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2; domain=.example.net; path=/; expires=Wed, 13-Jan-2021 22:23:01 GMT; HttpOnly
109109 Content-Type: application/vnd.ibexa.api.Session+xml
110110 ```
111111
@@ -114,7 +114,7 @@ To create a session, execute the following REST request:
114114 "Session": {
115115 "_media-type": "application\/vnd.ibexa.api.Session+json",
116116 "_href": "\/api\/ibexa\/v2\/user\/sessions\/jg1nhinvepsb9ivd10hbjbdp4l",
117- "name": "eZSESSID98defd6ee70dfb1dea416 ",
117+ "name": "IBX_SESSION_ID98defd6ee70dfb1dea416 ",
118118 "identifier": "go327ij2cirpo59pb6rrv2a4el2",
119119 "csrfToken": "23lk.neri34ijajedfw39orj-3j93",
120120 "User": {
@@ -136,7 +136,7 @@ Logging in is similar to session creation, with one important detail: the CSRF t
136136 Host: www.example.net
137137 Accept: application/vnd.ibexa.api.Session+xml
138138 Content-Type: application/vnd.ibexa.api.SessionInput+xml
139- Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
139+ Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
140140 X-CSRF-Token: 23lk.neri34ijajedfw39orj-3j93
141141 ```
142142
@@ -156,7 +156,7 @@ Logging in is similar to session creation, with one important detail: the CSRF t
156156 ```xml
157157 <?xml version="1.0" encoding="UTF-8"?>
158158 <Session href="user/sessions/go327ij2cirpo59pb6rrv2a4el2/refresh" media-type="application/vnd.ibexa.api.Session+xml">
159- <name>eZSESSID98defd6ee70dfb1dea416 </name>
159+ <name>IBX_SESSION_ID98defd6ee70dfb1dea416 </name>
160160 <identifier>go327ij2cirpo59pb6rrv2a4el2</identifier>
161161 <csrfToken>23lk.neri34ijajedfw39orj-3j93</csrfToken>
162162 <User href="/user/users/14" media-type="vnd.ibexa.api.User+xml"/>
@@ -170,7 +170,7 @@ Logging in is similar to session creation, with one important detail: the CSRF t
170170 Host: www.example.net
171171 Accept: application/vnd.ibexa.api.Session+json
172172 Content-Type: application/vnd.ibexa.api.SessionInput+json
173- Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
173+ Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
174174 X-CSRF-Token: 23lk.neri34ijajedfw39orj-3j93
175175 ```
176176
@@ -193,7 +193,7 @@ Logging in is similar to session creation, with one important detail: the CSRF t
193193 "Session": {
194194 "_media-type": "application\/vnd.ibexa.api.Session+json",
195195 "_href": "\/api\/ibexa\/v2\/user\/sessions\/jg1nhinvepsb9ivd10hbjbdp4l",
196- "name": "eZSESSID98defd6ee70dfb1dea416 ",
196+ "name": "IBX_SESSION_ID98defd6ee70dfb1dea416 ",
197197 "identifier": "go327ij2cirpo59pb6rrv2a4el2",
198198 "csrfToken": "23lk.neri34ijajedfw39orj-3j93",
199199 "User": {
@@ -214,7 +214,7 @@ You can now add the previously set cookie to requests to be executed with the lo
214214GET /content/locations/1/5 HTTP/1.1
215215Host: www.example.net
216216Accept: Accept: application/vnd.ibexa.api.Location+xml
217- Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
217+ Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
218218```
219219
220220##### CSRF token
@@ -227,7 +227,7 @@ Only three built-in routes can accept unsafe methods without CSRF, the sessions
227227```
228228DELETE /content/types/32 HTTP/1.1
229229Host: www.example.net
230- Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
230+ Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
231231X-CSRF-Token: 23lk.neri34ijajedfw39orj-3j93
232232```
233233
@@ -262,7 +262,7 @@ To log out is to `DELETE` the session using its ID (like in the cookie). As this
262262```
263263DELETE /user/sessions/go327ij2cirpo59pb6rrv2a4el2 HTTP/1.1
264264Host: www.example.net
265- Cookie: eZSESSID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
265+ Cookie: IBX_SESSION_ID98defd6ee70dfb1dea416 =go327ij2cirpo59pb6rrv2a4el2
266266X-CSRF-Token: 23lk.neri34ijajedfw39orj-3j93
267267```
268268
0 commit comments