Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Select between a fixed session (lasts as long as the specified session duration) and a dynamic session (lasts as long as the specified duration, but is extended with each server-side call). 

  1. Choose between Gigya fixed session or Gigya dynamic session. For a multi-site setting, we recommend a dynamic session expiration.
    1. Under Session duration, do one of the following: 
      • Specify the length of the fixed or dynamic session.
      • Enter "0" if you want to the session to end when the browser closes (session is neither fixed nor dynamic).
      • Enter "-2" if you want the session to last forever (session is neither fixed nor dynamic).
    2. In Drupal's default.settings.php file, define for the session cookie lifetime, a value that corresponds to the one you entered under Session duration: the same session duration (in seconds), or 0 for a session that ends when the browser closes. If you want to the session to be valid "forever" (-2 in Gigya's setting), enter the highest valid duration. For example: 

       

      ini_set('session.cookie_lifetime', 2000000);

 

Anchor
language
language
Language Settings

...