---
title: How to get the Session Cookie
description: In order to perform an authenticated scan with the Cookies or Headers methods, you will need to obtain the session cookie.
---

[Skip to content](https://support.pentest-tools.com/how-to-get-the-session-cookie#main-content)

[![flat ptt\_logo\_RGB\_alpha](https://support.pentest-tools.com/hubfs/flat%20ptt_logo_RGB_alpha.svg)](https://support.pentest-tools.com/)

Open main navigation

Close main navigation

- [Raise a ticket](https://share.hsforms.com/1iXO7OCiAQV67C-9QIn-4Dgbqmk4)

[Raise a ticket](https://share.hsforms.com/1iXO7OCiAQV67C-9QIn-4Dgbqmk4)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Support Center](https://support.pentest-tools.com/)
2. [Tools and Scans](https://support.pentest-tools.com/tools-and-scans)
3. [Authenticated Scanning](https://support.pentest-tools.com/tools-and-scans#authenticated-scanning)

March 18, 2025

# How to get the Session Cookie

## In order to perform an authenticated scan with the Cookies or Headers methods, you will need to obtain the session cookie.

First, you have to manually authenticate in the target web application using your web browser. Secondly, you need to get the session cookie string from the browser.

For example, using **Google Chrome**, you’ll have to perform the following actions:

- Enter Developer Tools – by Menu \> More tools \> Developer Tools (or Ctrl + Shift + I)
- Enter the ‘Network’ Tab
- Refresh page (or Ctrl + R)
- Click on the ‘Name’ section, and choose a URL that displays an additional ‘Cookies’ tab.
- Go to the ‘Headers’ Tab (for that URL)
- Scroll to Request Headers and see the Cookie header
- Copy the string from the Cookie header and insert it as in the example below:

```
PHPSESSID=a765feb13b4112f3d12f3dfa12e;_aa_id=ad4b654ad48f4d545a64d75ea’ (a list with name=value separated by “; ”)
```

Example Developer Tools interface:

![](https://support.pentest-tools.com/hubfs/Knowledge%20Base%20Import/image-Dec-17-2024-03-28-25-6818-PM.png)

  

- [Getting started](https://support.pentest-tools.com/getting-started#main-content)

    - [Tips & Tricks](https://support.pentest-tools.com/getting-started#tips-tricks)
    - [First Steps](https://support.pentest-tools.com/getting-started#first-steps)
- [Tools and Scans](https://support.pentest-tools.com/tools-and-scans#main-content)

    - [Network Infrastructure Testing](https://support.pentest-tools.com/tools-and-scans#network-infrastructure-testing)
    - [Authenticated Scanning](https://support.pentest-tools.com/tools-and-scans#authenticated-scanning)
    - [Frequently Asked Questions (FAQ)](https://support.pentest-tools.com/tools-and-scans#frequently-asked-questions-faq)
    - [Offensive Tools](https://support.pentest-tools.com/tools-and-scans#offensive-tools)
    - [Web Application Testing](https://support.pentest-tools.com/tools-and-scans#web-application-testing)
    - [Reconnaissance](https://support.pentest-tools.com/tools-and-scans#reconnaissance)
- [Account and Billing](https://support.pentest-tools.com/account-and-billing#main-content)

    - [Billing and Payment](https://support.pentest-tools.com/account-and-billing#billing-and-payment)
    - [Account Management](https://support.pentest-tools.com/account-and-billing#account-management)
- [Assets, Targets & Workspaces](https://support.pentest-tools.com/assets-targets-workspaces#main-content)

    - [Workspaces](https://support.pentest-tools.com/assets-targets-workspaces#workspaces)
    - [Assets & Targets](https://support.pentest-tools.com/assets-targets-workspaces#assets-targets)
- [Reporting and Vulnerability Management](https://support.pentest-tools.com/reporting-and-vulnerability-management#main-content)

    - [Notifications](https://support.pentest-tools.com/reporting-and-vulnerability-management#notifications)
    - [Attack Surface](https://support.pentest-tools.com/reporting-and-vulnerability-management#attack-surface)
    - [Reporting](https://support.pentest-tools.com/reporting-and-vulnerability-management#reporting)
    - [Findings](https://support.pentest-tools.com/reporting-and-vulnerability-management#findings)
- [VPN Profiles](https://support.pentest-tools.com/vpn-profiles)
- [Integrations](https://support.pentest-tools.com/integrations)
- [Automation](https://support.pentest-tools.com/automation#main-content)

    - [Scheduler](https://support.pentest-tools.com/automation#scheduler)
    - [Scan Groups](https://support.pentest-tools.com/automation#scan-groups)
    - [Pentest Robots](https://support.pentest-tools.com/automation#pentest-robots)
- [Change Log](https://support.pentest-tools.com/change-log)
- [Data Security](https://support.pentest-tools.com/data-security)

[![Chill listening crop-3](https://support.pentest-tools.com/hs-fs/hubfs/Logo%20negru.png?width=109&height=40&name=Logo%20negru.png "Chill listening crop-3")](http://Pentest-Tools.com)

[Go to Pentest-Tools.com ](https://pentest-tools.com/)

<https://www.linkedin.com/company/pentesttools> <https://www.youtube.com/c/PentestToolscom> <https://www.reddit.com/r/pentest_tools_com/>

Copyright © 2026 PentestTools S.A.