• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hosting server session problem

#11
[eluser]cogitsolutions[/eluser]
was facing same problem of session with IE 8. Many threads suggested for underscore, timezone difference. Real problem is timezone difference. CI creates cookie with server time and IE checks expiry related to client timezone. And here issues comes. You can not change time zone of online server to match clients from all over world. The better solution is change cookie / session expiry time. By default it is two hours. Change it to 24 hours and problem will be solved.

In config.php file change value of following variable

from two hours

$config['sess_expiration'] = 7200;

to 24 hours

$config['sess_expiration'] = 3600 * 24;

check http://www.cogitsolutions.com/blog/2011/...n-problem/

#12
[eluser]Reneesh T K[/eluser]
I have a shopping cart site with codeigniter frame work and it was showing session out when adding morethan hundreds of products.

I have solved the issue by changing the database field type of user_data in session table.

Please check more

http://myphplibrary.blogspot.in/2012/03/...ation.html


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.