Jump to content

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/254748-how-to-troubleshoot-sessions/
Share on other sites

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.