Logout

While REST calls are often stateless, JasperReports Server uses a session to hold some information such as generated reports. The session and its report data take up space in memory and it's good practice to explicitly close the session when it is no longer needed. This allows the server to free up and reuse resources much faster.

To close a session and free its resources, invoke the logout page and include the JSESSIONID cookie in the request.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]//logout.htm

Header  
Cookie: $Version=0; JSESSIONID=52E79BCEE51381DF32637EC69AD698AE; $Path=/jasperserver  

 

Version: 
Feedback
randomness