Results 1 to 4 of 4

Thread: Cookie problem

  1. #1
    WHK
    WHK is offline Newbie
    Join Date
    Jan 2011
    Posts
    8

    Default Cookie problem

    I'm transferring a site from another host and am setting up some custom PHP files used for logging in a user. Once the user is logged in, they have access to some pages that are normally not accessible.

    I am having a problem with cookies being transferred between pages. The login script works fine on the old host. I've used the following line for debug:
    Code:
    var_dump($_COOKIE);
    This results in the following response:
    Code:
    array (0) { }
    When I do the debug on the old host, there is a fully populated array that includes the cookie.

    Since this script works properly on the old host, I'm wondering if there is a server or PHP setting that needs to be changed. Anyone have ideas?

    PHP version 5.5.20 on Glowhost, 5.4.35 on old host (Both Linux Apache 2.2.29)

  2. #2
    GlowHost-John's Avatar
    GlowHost-John is offline Technical Analyst
    Join Date
    Jan 2013
    Posts
    452

    Default

    The issue seems to be with conflicts in php versions. If you are on one of our shared servers, you can try changing your PHP version from your cPanel >> Software&services >> Select PHP version. Please have a check from your end and if you are still facing any issue, please submit a support ticket regarding this. We will be glad to check this further.

  3. #3
    WHK
    WHK is offline Newbie
    Join Date
    Jan 2011
    Posts
    8

    Default

    Quote Originally Posted by GlowHost-John View Post
    The issue seems to be with conflicts in php versions. If you are on one of our shared servers, you can try changing your PHP version from your cPanel >> Software&services >> Select PHP version. Please have a check from your end and if you are still facing any issue, please submit a support ticket regarding this. We will be glad to check this further.
    Thanks for the tips. I tried versions of PHP both newer and older, and the same version as on the original server with no luck. Any other tips?

  4. #4
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,772

    Default

    Could you open a ticket for tech support department at https://glowhost.com/helpdesk/index.php?cmd=newticket ?

    This will allow us to take a close look on the problem.

Similar Threads

  1. Missy problem
    By GlowAlex in forum Outages and Scheduled Maintenance
    Replies: 2
    Last Post: 10-22-2009, 01:44 AM
  2. Vern problem
    By GlowAlex in forum Outages and Scheduled Maintenance
    Replies: 3
    Last Post: 12-20-2008, 04:06 PM
  3. Ginger problem
    By Alexander in forum Outages and Scheduled Maintenance
    Replies: 1
    Last Post: 09-05-2008, 12:15 PM
  4. serious problem
    By hi all in forum Programming Talk
    Replies: 2
    Last Post: 11-08-2006, 01:19 AM

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14