Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lateStudent

Member
  • Joined

  • Last visited

Everything posted by lateStudent

  1. Hi everyone I am currently a student in a web programming course and we are using Uniserver for our classwork and assignments where we use PHP. I am trying to find a way to prgrammatically change the timeout setting for PHP session variables from the default value in the php.ini file (1440 secs). Using ini_set('session.gc_maxlifetime', 100); (both before and after session_start()) seems to change the timeout value as displayed using: echo ini_get('session.gc_maxlifetime'), but if I then reload the php page well after100 secs without closing the browser, all the session variables are still there with their previous values. I then manually changed the time out setting in the php.ini file to: session.gc_maxlifetime = 100 But it now appears that the default timeout value is not got from this setting in the php.ini file because echo ini_get('session.gc_maxlifetime') still displayed 1440 when I called the php file. Please help...!!!! Where does Uniserver/PHP get its default sessions timeout value from and how can I change it to another value programatically in a php script? Any help much appreciated, lateStudent..
  2. Hi everyone I am currently a student in a web programming course and we are using Uniserver for our classwork and assignments where we use PHP. I am trying to find a way to prgrammatically change the timeout setting for PHP session variables from the default value in the php.ini file (1440 secs). Using ini_set('session.gc_maxlifetime', 100); (both before and after session_start()) seems to change the timeout value as displayed using: echo ini_get('session.gc_maxlifetime'), but if I then reload the php page well after100 secs without closing the browser, all the session variables are still there with their previous values. I then manually changed the time out setting in the php.ini file to: session.gc_maxlifetime = 100 But it now appears that the default timeout value is not got from this setting in the php.ini file because echo ini_get('session.gc_maxlifetime') still displayed 1440 when I called the php file. Please help...!!!! Where does Uniserver/PHP get its default sessions timeout value from and how can I change it to another value programatically in a php script? Any help much appreciated, lateStudent..

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.