diff options
author | dchill42 <dchill42@gmail.com> | 2012-08-27 03:45:35 +0200 |
---|---|---|
committer | dchill42 <dchill42@gmail.com> | 2012-08-27 03:45:35 +0200 |
commit | aee9265602c3bb30a1f7f3dfd562b9b36cc612a4 (patch) | |
tree | b92c3ba77623848f02a5e9a0656b97e080b19d26 /system/libraries/Session/drivers/Session_native.php | |
parent | b3816b794592873a4e98187e66745544b463e933 (diff) |
Fixed select_driver(), cookie sess_destroy(), and native cookie name conflict
Diffstat (limited to 'system/libraries/Session/drivers/Session_native.php')
-rwxr-xr-x | system/libraries/Session/drivers/Session_native.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_native.php b/system/libraries/Session/drivers/Session_native.php index 04c985574..8ba8e749a 100755 --- a/system/libraries/Session/drivers/Session_native.php +++ b/system/libraries/Session/drivers/Session_native.php @@ -56,7 +56,8 @@ class CI_Session_native extends CI_Session_driver { // Set session name, if specified if ($config['sess_cookie_name']) { - $name = $config['sess_cookie_name']; + // Differentiate name from cookie driver with '_id' suffix + $name = $config['sess_cookie_name'].'_id'; if ($config['cookie_prefix']) { // Prepend cookie prefix |