Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

Creating a new session instead of updating

$
0
0
Using version 2.0.2 and storing sessions in a database. Issue persists with both 
$config['cookie_domain'] = '';
and 
$config['cookie_domain'] = '.' . $_SERVER['SERVER_NAME'];

I have a cart. I redirect to payment site, then redirect back to my site. When I redirect to my site, it creates a new blank session instead of updating the old one.

However, if I delete all my session records and delete my cookies, when I try a payment and redirect back to my site, the session correctly updates instead of creating a new blank one. It will continue to work properly for a while and then eventually the problem comes back.

Any ideas as to why a new session is being created instead of updating the old one? And any idea why deleting my sessions and cookies fixes that problem for a while?

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>