[SOLVED] IE Sessions + Cart and time zone issues?

#1
[eluser]Unknown[/eluser]
for the past few months I have been running a codeigniter shop with the cart addon for a client.

I've had numerous problems which we're on my behalf

1. characters in shopping cart ( not adding to cart ) *FIXED*

2. underscore in the session table Internet Explorer ( not adding to cart) *FIXED*

but now i'm getting something I have no idea how to approach... I've been getting emails from people in different time zones saying that they can't add anything to the cart... so I raised the time hour by hour on my computer with IE6 and sure enough at 4 hours it will stop adding.

I am currently using the default CI Sessions but i havent read anyone fixing this problem with any plugin. does anyone have an answer to this? I would just let it go but my client gets 15 to 25 emails a day from potential customers so I need to get this done.

Thanks

#2
[eluser]Unknown[/eluser]
If anyone else has this problem native sessions seem to fix it all

#3
[eluser]WanWizard[/eluser]
Look for my post regarding this subject in the bug section.

Issue is that the timeout of the session cookie is calculated as time() + expiration, which is local time of the server. Which is a problem if your user is in another timezone. I've posted a solution where the cookie is crafted using the users timezone (must be set properly).


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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