Bug 49476 - Cannot expire selected session in Manager webapp
Summary: Cannot expire selected session in Manager webapp
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Manager (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-20 11:47 UTC by Konstantin Kolinko
Modified: 2010-06-24 05:59 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2010-06-20 11:47:00 UTC
Running 7.0.0. Steps to reproduce:

1. Login to the Manager webapp.

2. In the "Sessions" column click on the number (1) in the "/manager" row.
The Sessions Administration page`[1] is opened.

3. In the sessions list put a checkmark next to any session and press Invalidate selected Sessions button.

4. 
Actual result: message:
FAIL: Nonce mismatch. Command "/sessions" was ignored.

and the page displays the list of webapps.
Expected result: Invalidating a session and redisplaying the sessions list.


[1] http://localhost:8080/manager/html/sessions?path=/manager

Suspected cause is that [1] is opened with a GET query that does not include the nonce in its URL.
Comment 1 Mark Thomas 2010-06-24 05:59:22 UTC
This has been fixed in trunk and will be included in 7.0.1 onwards.