Trouble with cURL and Sessions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Trouble with cURL and Sessions (/showthread.php?tid=14146) |
Trouble with cURL and Sessions - El Forum - 12-19-2008 [eluser]Unknown[/eluser] I have been stuck on this issue for months. Please help. How do you maintain a session? I turned on database sessions and everytime I run a cURL to a page it loses the sessions and starts a new one. I am using 1.7.0. I tried passing the cookie to it. Because it regenerates, I also lose the user information in the cURL retrieval. Ahh! Trouble with cURL and Sessions - El Forum - 12-19-2008 [eluser]Unknown[/eluser] Ajax does not exhibit this issue. I have been able to cut down the session regeneration from infinite to 2. Example code for views/sandbox/dispatcher: Code: <div id="sandbox_dispatcher"> |