php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "session lifetime"

What are some common methods for passing values from one PHP file to another?

One common method for passing values from one PHP file to another is by using sessions. By storing the values in session variables, they can be access...

What is the proper way to retrieve and handle a hidden SID in a form for data insertion in PHP?

When retrieving a hidden SID in a form for data insertion in PHP, you can use the `session_id()` function to retrieve the session ID. It is important...

How can a counter be scripted to appear only in the source code or elsewhere, not on the site itself?

To have a counter appear only in the source code or elsewhere, not on the site itself, you can store the counter value in a PHP session variable. This...

Do you need to include class definitions when passing objects in sessions in PHP?

When passing objects in sessions in PHP, it is not necessary to include class definitions as long as the object is serializable. To ensure that an obj...

What are some best practices for implementing user authentication in PHP to ensure security and usability?

Issue: Implementing user authentication in PHP requires ensuring both security and usability. One best practice is to use secure hashing algorithms, l...

Showing 9996 to 10000 of 10000 results

‹ 1 2 ... 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.