Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session not working in IE and Safari #2880

Closed
domeri opened this issue Feb 14, 2014 · 5 comments
Closed

Session not working in IE and Safari #2880

domeri opened this issue Feb 14, 2014 · 5 comments

Comments

@domeri
Copy link

domeri commented Feb 14, 2014

Hello. It seems like session is not working in ie & safari. Any one else has faced the same problem?
screen shot 2014-02-14 at 3 45 07 pm

screen shot 2014-02-14 at 3 45 49 pm

screen shot 2014-02-14 at 3 46 37 pm

Is there any solution about this?

@filhocodes
Copy link
Contributor

In config.php did you configure cookie settings, like the domain and path?

@domeri
Copy link
Author

domeri commented Feb 14, 2014

$config['sess_driver']          = 'cookie';
$config['sess_valid_drivers']   = array();
$config['sess_cookie_name']     = 'cisession';
$config['sess_expiration']      = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie']  = FALSE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']      = 'ci_sessions_table';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update']  = 300;

$config['cookie_domain']    = '.mydomain.com'; //also tried to set it empty
$config['cookie_path']      = '/';

@filhocodes
Copy link
Contributor

Why don't you give a try with the native driver. And can you check in some dev tools the cookies value? Or in the database if there duplicated rows?

@narfbg
Copy link
Contributor

narfbg commented Feb 14, 2014

Could be related to the domain, but try the forums or IRC ... this is not the place to ask for general support and this is most certainly not a bug (it works for everybody else).

@narfbg narfbg closed this as completed Feb 14, 2014
@domeri
Copy link
Author

domeri commented Feb 15, 2014

Just Found the problem:

It wasn't CI bug. The problem was on my linux server configuration.

The hwclock was not coresponding with the date time, and this was causing the session problem on ie & safari...

Thnx for replying....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants