php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "httponly"

Are there any security considerations to keep in mind when using cookies in PHP?

When using cookies in PHP, it is important to keep security considerations in mind to prevent vulnerabilities such as session hijacking or cross-site...

What are common issues related to setting cookies and sessions in PHP?

Common issues related to setting cookies and sessions in PHP include not setting the cookie or session before any output is sent to the browser, not s...

How can session hijacking be prevented when using session IDs for user authentication in PHP?

Session hijacking can be prevented by using HTTPS to encrypt the communication between the client and server, setting the 'secure' and 'httponly' flag...

What are the best practices for configuring session cookies in PHP to prevent security vulnerabilities?

Session cookies in PHP should be configured securely to prevent security vulnerabilities such as session hijacking or session fixation attacks. To enh...

What are the best practices for managing user sessions in PHP to ensure security and efficiency?

To manage user sessions in PHP securely and efficiently, it is recommended to use session cookies with secure and httpOnly flags, regenerate session I...

Showing 16 to 20 of 289 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 57 58 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.