Jump to content

$_SESSION vars will not persist on pages other than login..?


BizLab

Recommended Posts

Is this your own server?  If so, what flavor of Linux are you running?  Did you install apache/php from a repository for your distro or compile it yourself?  Almost feels like an SELinux issue.

 

No this is a Virtual Private Server from Media Temple.. i put in a support request through them a few hours back. I will have to see what they think about it... I don't know the linux version unfortunately

 

I'll keep you updated man, thanks for the help today

  • Replies 51
  • Created
  • Last Reply

The Problem ended up being with the session folder and running php as a fastCGI script - which someone had originally suggested to fix the original session storing problems.

 

SO my solution:

 

Alter the vhost.conf file and remove the fastCGI information

 

make a new temp directory in the /domain.com/ directory

 

redirect all session vars there

 

create a new vhost_ssl.conf file and place the same file path information in there for the SSL

 

restart apache and plesk and viola! fixed and running. Sessions now work in both http and https protocols, and i can transfer sessions flawlessly between the two offering tons of options.

 

Thanks to the staff at media temple once again, they kick ass!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.