php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "session_set_cookie_params()"

How can cookies be disabled for sessions without access to php.ini?

To disable cookies for sessions without access to php.ini, you can use the session_set_cookie_params() function in PHP to set the cookie parameters to...

Can cookies be completely disabled in PHP?

Yes, cookies can be completely disabled in PHP by setting the session.use_cookies directive to 0 in the php.ini configuration file or by using the ses...

How can sessions be passed to a different domain in PHP?

To pass sessions to a different domain in PHP, you can use session cookies with the `session_set_cookie_params()` function to set the domain parameter...

What methods can be used to prevent a session from expiring in PHP?

To prevent a session from expiring in PHP, you can adjust the session cookie parameters to increase the session timeout. You can do this by setting th...

What are the challenges of maintaining session data across different subdomains in PHP?

When maintaining session data across different subdomains in PHP, the main challenge is ensuring that the session cookie is accessible to all subdomai...

Showing 11 to 15 of 95 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 18 19 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.