NETSYNC Posted January 10, 2012 Share Posted January 10, 2012 Hey guys. I am using Usercake to build a small user login site with only 2 pages. My problem is that for some reason when I log in the first time it works. But after I submit a form which enters info into a database, upon return the session is dead. Nowhere in these files should be killing the session. Then when I login the second time and do all the same stuff it works flawlessly until I logout. My question is: How to troubleshoot sessions? How can I pinpoint where exactly the session is getting killed? I am at a loss on how to figure out where the issue is. Thanks for any tips! Quote Link to comment https://forums.phpfreaks.com/topic/254748-how-to-troubleshoot-sessions/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 10, 2012 Share Posted January 10, 2012 See if this post helps - http://www.phpfreaks.com/forums/index.php?topic=351291.msg1658663#msg1658663 Substitute your 'upon return' (which I assume means a redirect back to the form) for the 'the return URL you tell your payment gateway to use' in that post. Quote Link to comment https://forums.phpfreaks.com/topic/254748-how-to-troubleshoot-sessions/#findComment-1306259 Share on other sites More sharing options...
NETSYNC Posted January 10, 2012 Author Share Posted January 10, 2012 I am going to try this tonight. Thanks very much for the reply and the tip! Hopefully this is it! Quote Link to comment https://forums.phpfreaks.com/topic/254748-how-to-troubleshoot-sessions/#findComment-1306285 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.