Internet privacy
Cookies and IP addresses are different identifiers
A cookie is application state stored and returned by a browser; an IP address describes the connection path at a point in time.
Updated
In this guide
Cookie scope
A server may set a cookie scoped to a domain and path with attributes controlling its transmission. Cookies can maintain sessions or preferences. They are not equivalent to an IP address.
Network changes
Switching from Wi-Fi to mobile data may change the IP while leaving cookies and logged-in accounts intact. Clearing cookies can end a session without changing the network's public address.
Private browsing limits
Private browsing generally isolates or limits persistent browser state, according to the browser. It does not inherently hide network traffic from the destination or network operator. Review the browser's documented behavior.
A changing connection example
A browser may keep its logged-in session cookie while moving from Wi-Fi to mobile data, even though the public IP changes. Another browser on the same Wi-Fi may use the same public address without sharing the cookie. Neither identifier can be interpreted alone as a unique person.
Step-by-step example
Compare a website's network observation with its application session.
- 01
Read the network address
My IP shows the public address for the current request. It can change across networks or be shared by many users.
- Request A
- Public IP A
- Request B
- Public IP B
Illustration · example, not a live result - 02
Read session behavior
Cookies may carry session identifiers or settings. A logged-in browser can remain recognized when its public IP changes. Different users can also share one egress IP.
- Same session
- IP may change
- Same IP
- Many sessions
Illustration · example, not a live result - 03
Use appropriate privacy controls
For sites you use, review cookie and storage settings and sign out when appropriate. Clearing storage can sign you out and remove preferences; it does not change your network IP.
- Clear cookies
- Session/storage change
- Switch network
- Possible IP change
Illustration · example, not a live result
Check your understanding
A public IP is neither a unique account identifier nor a replacement for session controls.
Try this
Use the request header inspector to understand selected metadata; it intentionally excludes Cookie and Authorization values.
HTTP request header inspector →