-
Aug 23rd, 2017, 08:46 PM
#1
Thread Starter
New Member
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!
-
Aug 24th, 2017, 04:39 AM
#2
Addicted Member
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
-
Aug 24th, 2017, 06:15 AM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|