JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc
General

GUI Reference: User Sessions

Manage the sessions for a single hub user account.

The hub's anonymous sessions are shown on the User Sessions page for special user Anonymous.



Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.

Navigating to

From Account Editor In the Account Settings tab, click Manage Sessions.
From Settings In the Account tab, click Manage My Sessions.
by URL: http://hub_location/user/user_id-sessions.html

Page Properties

Output formats CSV, JSON, XML (user_sessions.xsd)
Visibility Filter Applied none
RBAC Permissions Needed
Page AccessG_ADMINISTER_USERS

Page Contents

The following annotated screenshot shows the various parts of a User Sessions page.

Annotated Screenshot: User Sessions page standard header breadcrumbs heading table of current sessions Delete Selected Sessions button form for creating a new session standard footer

Standard Header See GUI Reference: Standard Header.
Breadcrumbs Home > Settings > Users > user_name > Sessions
Where
Page Heading Sessions for user "user_name"
Where user_name identifies the user whose sessions are currently displayed.
Table of Current User Sessions A table describing all sessions currently stored for the user.
For special user Anonymous, the table shows the hub's anonymous sessions.
Delete Selected Sessions button Click to remove one or more of the sessions from the table. See Deleting a Session for full instructions.
Create Session A form for creating a new session for the user. See Creating a Session for full instructions.
Standard Footer See GUI Reference: Standard Footer.

Deleting a Session

To delete one or more of the sessions in the table of sessions:

  1. Select the checkboxes for the sessions you want to delete.
  2. Click Delete Selected Sessions.

The page will update to show a confirmation message, and the selected sessions will be removed from the table.

Creating a Session

When you are viewing the CodeSonar Web GUI in a web browser, a session is automatically created for you: a user session if you have signed in and an anonymous session otherwise.

The Create Session form is provided so that you can explicitly create sessions to use in automated contexts such as continuous integration or nightly scripts. In particular, you can use the bearer token associated with an explicitly-created session to perform bearer authentication for CodeSonar operations.

  1. Scroll down to the Create Session form.
  2. Specify a suitable Expires value for the session.
    The value must be consistent with a date format string in the hub Date Parse Formats or Relative Date Formats list.
  3. Add a brief Note to remind yourself what this session is for.
  4. Click Create Session.

    The page will be reloaded.

  5. IMPORTANT: Make a note of the Bearer Token. You will need this for bearer authentication.
    Once you refresh or navigate away from this page there will be no further opportunity to view the token.

The properties for the new session will be set as follows.

Bearer Token A new, unique value.
Expires As you specified in the Create Session form.
ID A new, unique value.
Keep Alive? False
Note As you specified in the Create Session form.
Overflow? False
Precious? True
Pool noninteractive
Session User The user associated with this User Sessions page.

More Information

 

To report problems with this documentation, please visit https://support.codesecure.com/.