Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get JSESSIONID value from firefox browser?

I am getting below error when i am trying to do a member post into existing project area via Firefox REST client:

HTTP Status 403 - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicous website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.

My Concern is how to get current JSESSIONID value from firefox browser?

Ajay Gera 

0 votes


Accepted answer

Permanent link
Hi Ajay,
The way I've gotten the JSESSIONID in the past was to open firebug, click on the Cookies tab, and scroll down to JSESSIONID.
Ajay Gera selected this answer as the correct answer

3 votes

Comments

Thanks Lauren for the reply

You're welcome.


One other answer

Permanent link
Hi Ajay,

if you want to avoid to use Firebug, be aware you could do it from default Mozilla/Firefox installation:

I personally use the following method with my Firefox (ESR 17.0.5):
- I click "Tools > Option > Remove Individual cookies"  (note: we'll remove nothing BTW)
Then:
1) for filtering purpose, I enter the hostname of my CLM server
  (e.g. localhost - as shown in the snapshot below -, clm1.mycompany.com, etc)
2) I select the lines with JSESSIONID appearing in the "Cookie Name" column.



  As you could find multiple ones.
  Just find out the one with the context root corresponding with the CLM application you're interested in.
  Namely:
        - /qm for QM for RQM,
        - /ccm for RTC
        -  etc.
  3) In the snapshot above, I was interested by the RQM session ID.
      Hence I finally copy/pasted the associated value in my favorite REST client.
  4) I click "Close" to close the Cookies window of Firefox/Mozilla.

Regards,
Stéphane

2 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,953

Question asked: May 07 '13, 5:00 p.m.

Question was seen: 50,867 times

Last updated: May 13 '13, 1:57 p.m.

Confirmation Cancel Confirm