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

Link to comment
Share on other sites

  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.