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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:57:43+00:00 2026-06-09T14:57:43+00:00

I am using cakephp 2.0 in My Users controller i am setting a SESSION

  • 0

I am using cakephp 2.0 in My Users controller i am setting a SESSION in login action using

$this->Session->write(‘Users’,$value);

once session set it will redirect to next action named home. In login action its working I logged and checked the value, but after the redirect I read the session value by using the following in home action

$this->log($this->Session->read(‘Users’));

nothing displayed. But its working fine in local server.

  • 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-06-09T14:57:44+00:00Added an answer on June 9, 2026 at 2:57 pm

    Please check the following things on your server.

    • Check your php.ini file whether session is enabled or not.
    • session.cookie.domain is set to your server or not.
    • Check for your php files having any blank lines after ?> if any please remove.

    And then try.

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

Sidebar

Related Questions

I'm using cakephp and I want the login view for the controller 'users' to
I'm using CakePHP to send an email. My controller code looks like: if ($this->User->save($this->request->data))
I have a link that goes like this: $this->Html->link('Welcome', array('controller' => 'users', 'action' =>
I want to retrieve the last 3 registered users in cakephp using the field
I am using CakePHP 2.1 and I am having this tag in my program..
I am using CakePHP and want to create a URL to a controller/view without
I'm using the great Facebook plugin for cakephp 1.3 by http://www.webtechnick.com . This is
I am using cakephp auth Plugin . After login what happening is . The
I am using CakePHP 2.0 and I have a Model with this 'virtualFields': Country.php:
i am using Cakephp1.3 and i am trying to set value in app_controller.php under

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.