Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1006337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:26:39+00:00 2026-05-16T08:26:39+00:00

We recently upgraded our PHP and apache versions on our server. Prior to this

  • 0

We recently upgraded our PHP and apache versions on our server.

Prior to this our sessions were able to be carried over between subdomains without error.

Unfortunately when we made the upgrades it stopped working.

From what I can see everything is the same.

I have tried
ini_set(“suhosin.session.cryptdocroot”, “Off”);
ini_set(“suhosin.cookie.cryptdocroot”, “Off”);

But that didn’t work out.

I am already setting in my Bootstrap the cookie_domain to “.website.com”.

Anybody have any ideas what could possibly have changed to make this great of an impact!?

Here’s the code:

ini_set('session.use_cookies', 1);
    ini_set('session.use_only_cookies', 1);
    ini_set('session.cookie_domain', '.website.com');

    $db = Zend_Registry::get('db_global');  
    $config = array(
        'name'           => '_sessions',
        'primary'        => 'id',
        'modifiedColumn' => 'modified',
        'dataColumn'     => 'data',
        'lifetimeColumn' => 'lifetime',
        'customerIdColumn' => 'customer_id',
        'db' => $db   // db adapter
    );

    //I tried it with the typical savehandler and got the same result of not working
    Zend_Session::setSaveHandler(new Custom_Session_SaveHandler_DbTable($config));
    Zend_Session::start();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:26:39+00:00Added an answer on May 16, 2026 at 8:26 am

    You can configure Zend_Session for the cookie_domain, best place is your bootstrap:

    Zend_Session::start(array('cookie_domain' => '.domain.com'));
    

    An other idea: New settings in php.ini like session.auto_start = true ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
We've recently upgraded one of our projects. This involves new versions of JARs also.
I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6
I've recently upgraded a page on our server from classic asp to asp.net The
Pair.net recently upgraded our PHP install and afterwards client started see HTML in email
All - I have recently upgraded our production environment from Sql Server Reporting Services
Recently we upgraded our TFS server 2008 to 2010. Now, we have got problems
We've recently upgraded one of our SSRS2005 servers to SSRS2008 and have found that
Our team recently upgraded to TeamCity 4.5.4 but we're having trouble with TeamCity running
We've recently upgraded our Telerik library to Q3 2011, and it seems to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.