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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    session_start();

    Hi,

    I have moved my website from one hosting to another, simply copied the files to the ftp, and I realized that one session_start(); is not working.

    There is no absolute link, nothing I could see that helps me understand why. The only thing I have is that when I remove the session it works (though the variables are not carried forward), but with the session my page is stocked.

    It may be hard with only the above info but if you have an idea it will be very welcomed!

    Cheers

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    It may be hard with only the above info but if you have an idea it will be very welcomed!
    Turn On error reporting and see if anything comes out.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    Your webhost has a different SESSION path ... that requires you to define what it is.

    http://php.net/manual/en/function.session-save-path.php

    I think this is something you need to ask your webhost about.
    They must have something configured wrong with your PHP settings?

    ===========

    copy, paste, and upload this little script ... call it "test.php":
    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    Then go to the test.php page and see what it shows for SESSION settings.



    .


  •  

    Posting Permissions

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