![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| If we don't use the session_destroy(), will the session be automatically destroy? If not, then how should we code it so that it will automatically destroy? Peter CCH | |||
|
| | #2 | ||
| Peter Chan wrote: > If we don't use the session_destroy(), will the session be automatically > destroy? Hi, there ist an idle-time. If the user don't interact for that time, the session will be killed. You can set this value in the php.ini or with the set_ini() function (see: session.gc_maxlifetime). But there is no "deadline" - so if someone reloads a page every n minutes the session will never expire (not good for security reasons). cu Patrick | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: automatically, expire, session |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Session problem | Peter Chan | PHP | 0 | 07-01-2007 3:31 PM |
| Session problem with PHP 4.3.2 | Juz | PHP | 5 | 07-01-2007 3:18 PM |
| Session problem with PHP 4.3.2 | Erik | PHP | 1 | 07-01-2007 3:18 PM |
| Planning a LAN session ...... | Plebism | Console Subjects | 6 | 06-11-2007 10:36 AM |
| PHP session question | eric | PHP | 1 | 08-02-2006 9:06 PM |
| Featured Websites | ||||
|