php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "HttpOnly"

What functions or methods in PHP can be used to control session runtime parameters?

To control session runtime parameters in PHP, you can use the `session_set_cookie_params()` function to set the session cookie parameters such as life...

What are the best practices for handling user sessions securely in PHP applications?

To handle user sessions securely in PHP applications, it is important to use session cookies with secure and HttpOnly flags, regenerate session IDs af...

Are there any best practices to follow when managing cookies in PHP?

When managing cookies in PHP, it is important to follow best practices to ensure security and compliance with privacy regulations. This includes setti...

How can session variables be securely passed between PHP pages?

To securely pass session variables between PHP pages, you can use session cookies with the "httponly" and "secure" flags set. This ensures that the se...

Are there any best practices for setting and reading cookies in PHP to avoid issues like this?

Issue: To avoid cookie-related issues in PHP, it is recommended to set cookies with secure and HttpOnly flags to prevent potential security vulnerabil...

Showing 31 to 35 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.