Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- |--------------------------------------------------------------------------
- | Session Variables
- |--------------------------------------------------------------------------
- |
- | 'sess_cookie_name' = the name you want for the cookie
- | 'sess_expiration' = the number of SECONDS you want the session to last.
- | by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
- | 'sess_expire_on_close' = Whether to cause the session to expire automatically
- | when the browser window is closed
- | 'sess_encrypt_cookie' = Whether to encrypt the cookie
- | 'sess_use_database' = Whether to save the session data to a database
- | 'sess_table_name' = The name of the session database table
- | 'sess_match_ip' = Whether to match the user's IP address when reading the session data
- | 'sess_match_useragent' = Whether to match the User Agent when reading the session data
- | 'sess_time_to_update' = how many seconds between CI refreshing Session Information
- |
- */
- $config['sess_cookie_name'] = 'ci_session';
- $config['sess_expiration'] = 7200;
- $config['sess_expire_on_close'] = FALSE;
- $config['sess_encrypt_cookie'] = FALSE;
- $config['sess_use_database'] = FALSE;
- $config['sess_table_name'] = 'ci_sessions';
- $config['sess_match_ip'] = FALSE;
- $config['sess_match_useragent'] = TRUE;
- $config['sess_time_to_update'] = 300;
- /*
- |--------------------------------------------------------------------------
- | Cookie Related Variables
- |--------------------------------------------------------------------------
- |
- | 'cookie_prefix' = Set a prefix if you need to avoid collisions
- | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
- | 'cookie_path' = Typically will be a forward slash
- | 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
- |
- */
- $config['cookie_prefix'] = "";
- $config['cookie_domain'] = "";
- $config['cookie_path'] = "/";
- $config['cookie_secure'] = FALSE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement