Results 1 to 3 of 3

Thread: Carry session variables from https to http

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2017
    Posts
    4

    Carry session variables from https to http

    I have just moved web hosts and have run in to a problem.

    With my old host, on one of my client sites, when the user logs in under https, any session variable that was then set under https would then carry across to http. For example, a clientID that was set as a session variable would be visible under http.

    Since I have moved sites, this doesn't seem to work anymore.

    I don't know if this is a server setting...or if there is something I need to fix in my code?

    Any help appreciated!

  2. #2
    Addicted Member
    Join Date
    Aug 2017
    Location
    South Africa (in the middle)
    Posts
    160

    Re: Carry session variables from https to http

    Do your new host have all the newest installations on board? Go into the CPanel and have a view. Apache have a new version as well as softaculous with a bunch of new scripts. Sometimes you need to run it yourself.
    Programmers are very patient people....while programming....but don't expect them to be patient all the time

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2017
    Posts
    4

    Re: Carry session variables from https to http

    Actually, just found the solution. There is a server setting 'New ID on Secure Connection' which needs to be set to false in order for this to work. All good now thanks.

Posting Permissions

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



Click Here to Expand Forum to Full Width