Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Location
    Ahmedabad,Gujarat,India
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Session not maintaining for the first time

    Hi PHP Guru,

    I am developing a e-commerce website. The user logs in and buys a product when he /she checkout the page will redirect to the payment gateway. After the payment is completed it will return back to my website. This is ok. But when it is returning back the session maintained in my website get lost. This happen only for the first time. If the user again logged in and checkout the process works good and the session is maintaining.

    Why does the session lost for first time.

    I used session_start() in all the pages..

    I cannot find the solutions.
    Please Help me to solve this problem.

    Thank’s in Advance
    Smith
    eSparkInfo
    Last edited by VIPStephan; 01-12-2012 at 11:18 AM. Reason: Signature rule violation

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,092
    Thanks
    51
    Thanked 506 Times in 493 Posts
    Unless you're going to show us the relevant code, there isn't much we can do to help really is there.

    IF you decide to post it, wrap it in [php] tags.
    My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •