This menu is reachable via the little arrow in the panel tab ( [[File:CookiesPanelOptionsMenuArrow.png]] ) or by right-clicking on on the panel tab (since [[Firebug Release Notes#Firebug 1.9|Firebug 1.9]]).

+

This menu is reachable via the little arrow in the panel tab ( [[File:CookiesPanelOptionsMenuArrow.png]] ) or by right-clicking on on the panel tab (since [[Firebug 1.9 Release Notes|Firebug 1.9]]).

{| class="wikitable" style="width:100%; vertical-align:top;"

{| class="wikitable" style="width:100%; vertical-align:top;"

Line 22:

Line 22:

== Panel Toolbar ==

== Panel Toolbar ==

=== Break On Cookie Change ===

=== Break On Cookie Change ===

−

As some of the other panels the Cookie panel offers a "Break On..." feature. In this case it's ''Break On Cookie Change'', which means that as soon as a cookie is added, changed or removed the script execution is stopped.

+

The Cookie panel offers a "[[Break On ...]]" feature like some other panels. The ''Break On Cookie Change'' button ( [[File:BreakOnCookieChangeButton.png]] ) allows you to stop the script execution as soon as a cookie is added, changed or removed.

The main part of the Cookies panel is the Cookies List. When the Cookies panel is activated and a page is loaded it starts filling with all cookies set by a page. Each entry displays all the info available for a cookie. The following is a list of information, that is displayed for each cookie:

+

The main part of the Cookies panel is the Cookies List. When the Cookies panel is activated and a page is loaded it starts filling with all cookies set by a page. Each entry displays the info available for a cookie. The information about the cookies is displayed in the following columns:

−

* Name of the cookie

+

{| class="wikitable" style="vertical-align:top;"

−

* Value of the cookie

+

|- bgcolor=lightgrey

−

* Domain the cookie is set for

+

! style="width:100px" | Column || Description

−

* Size of the cookie value in bytes

+

|-

−

* Path the cookie is set for

+

| Name || Name of the cookie

−

* Expiration date or "Session" for session cookies

+

|-

−

* Flag specifying whether "HttpOnly" is set for a cookie

+

| Value || URL decoded value of the cookie

−

* Flag specifying whether it's a secure cookie

+

|-

+

| Raw Value || Raw value of the cookie

+

|-

+

| Domain || Domain the cookie is set for

+

|-

+

| Size || Size of the cookie value in bytes

+

|-

+

| Raw Size || Raw size of the cookie value in bytes

+

|-

+

| Path || Path the cookie is set for

+

|-

+

| Expires || Expiration date or "Session" for session cookies

+

|-

+

| HttpOnly || Flag specifying whether "HttpOnly" is set for a cookie

+

|-

+

| Security || Flag specifying whether the cookies is just sent for encrypted connections

+

|}

+

+

The display of the columns can be customized by right-clicking the column header and checking the columns that should be shown.

=== Breakpoint Column ===

=== Breakpoint Column ===

−

You can add a breakpoint for each cookie by clicking the Breakpoint Column at the left side of a cookie. By doing this the script execution will be halted as soon as that cookie is set, changed or removed.

+

You can add a breakpoint for each cookie by clicking the Breakpoint Column at the left side of a cookie. By doing this the script execution will be halted as soon as that cookie is set, changed or removed. Clicking on a set breakpoint removes it.

+

+

==== Breakpoint conditions ====

+

You can create a conditional breakpoint by right-clicking a breakpoint. Doing so opens the Breakpoint Condition Editor:

+

+

[[File:CookieBreakpointConditionEditor.png]]

+

+

There are variables available, which can be used within the expression:

Panel Toolbar

Break On Cookie Change

The Cookie panel offers a "Break On ..." feature like some other panels. The Break On Cookie Change button ( ) allows you to stop the script execution as soon as a cookie is added, changed or removed.

Cookies

Offers general cookie related options.

Create Cookie

Opens a dialog, which allows adding a new cookie.

Remove Cookies

Removes all cookies at once. If Confirm cookie removal is checked, a confirmation dialog will be shown before deleting the cookies.

Remove Session Cookies

Removes all session cookies at once. If Confirm cookie removal is checked, a confirmation dialog will be shown before deleting the cookies.

Export All Cookies

Exports all cookies (of all websites) as text file. Therefore the Save as dialog is opened allowing you to select the path and choose a name for the exported file.

Export Cookies For This Site

Exports all cookies of the current website as text file. Therefore the Save as dialog is opened allowing you to select the path and choose a name for the exported file.

Filter

Filters the displayed cookies.

Filter Cookies By Current Path

Filters the cookies by the current URL path.

Cookies Acceptance Menu

Specifies which cookies should be accepted.

Type

Description

Default (Accept cookies)

All cookies will be accepted

Deny cookies from <website>

Deny all cookies coming from that specific website

Allow cookies from <website>

Accept all cookies coming from that specific website

Allow session cookies from <website>

Accept only session cookies coming from that specific website

Panel

Cookies List

The main part of the Cookies panel is the Cookies List. When the Cookies panel is activated and a page is loaded it starts filling with all cookies set by a page. Each entry displays the info available for a cookie. The information about the cookies is displayed in the following columns:

Column

Description

Name

Name of the cookie

Value

URL decoded value of the cookie

Raw Value

Raw value of the cookie

Domain

Domain the cookie is set for

Size

Size of the cookie value in bytes

Raw Size

Raw size of the cookie value in bytes

Path

Path the cookie is set for

Expires

Expiration date or "Session" for session cookies

HttpOnly

Flag specifying whether "HttpOnly" is set for a cookie

Security

Flag specifying whether the cookies is just sent for encrypted connections

The display of the columns can be customized by right-clicking the column header and checking the columns that should be shown.

Breakpoint Column

You can add a breakpoint for each cookie by clicking the Breakpoint Column at the left side of a cookie. By doing this the script execution will be halted as soon as that cookie is set, changed or removed. Clicking on a set breakpoint removes it.

Breakpoint conditions

You can create a conditional breakpoint by right-clicking a breakpoint. Doing so opens the Breakpoint Condition Editor:

There are variables available, which can be used within the expression: