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 6100981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:26:53+00:00 2026-05-23T13:26:53+00:00

I need to integrate my no-framework code with my brand new Zend Application. But

  • 0

I need to integrate my no-framework code with my brand new Zend Application. But they need to share a session. The problem I am facing is – when I am setting the session variables from the non-zend php using

$_SESSION['MyApp']['user']=$user;

I cant access the session from the Zend Application, i tried both –

print_r($_SESSION['MyApp']['user']);

and

$myAppSession = new Zend_Session_Namespace('MyApp');
print_r($myAppSession->user);

Doesn’t work. Info – I have

resources.session.name = "MyApp"

in my bootstrap ini file.

  • 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-23T13:26:54+00:00Added an answer on May 23, 2026 at 1:26 pm

    I found a way out, Zend Session has a different session id than normal PHP sessions, so what I did was to send the session id from zend with the request and start the session with that session id –

        if(isset($_REQUEST['sess_id'])) {
            $sess_id = $_REQUEST['sess_id'];
        }
    
        session_id($sess_id);
        session_start();
    

    Its not beautiful code, but it works.

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

Sidebar

Related Questions

I am new in Zend Framework and i need to integrate paypal. I don't
Is it possible to integrate Zend Framework with already existing legacy web application? The
Is there a way to integrate Zend framework with Doctrine 2 but with an
Okay, so what I need to do is to write C# code, to integrate
I'd like to integrate Propel with Zend framework . I've seen the integration of
I'm going to need to integrate a Java application that I wrote with a
How to integrate PHPUnit with PHP Pro custom php framework ? I need how
I'm using Zend Framework and I feel that I need a good ORM to
Possible Duplicate: Is it possible to integrate Jquery with Eclipse? I need code completion
I need to integrate a email client in my current python web app. Anything

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.