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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:50:00+00:00 2026-05-22T14:50:00+00:00

I am facing a strange issue here. I am using CakePHP 1.3.6 & for

  • 0

I am facing a strange issue here.

I am using CakePHP 1.3.6 & for IE 6-7-8 it is not allowing me to login. I am using the correct credentials. tested these with recorded in logs.

There is no any auth error displayed. (If i use wrong credentials then it shows the auth error, but for correct credentials it shows nothing 🙁 )

I have tested all the possibility with auth component by logging logs into the error.log file.

I checked the Auth->user method. It populates Auth session, but even though it is not redirecting me to the desired location.
I also checked the authLoginurl : it is aslo correct in logs.

I have checked the following possibilities,

1) Changed some settings from Core.php

— Session.checkAgent set to false
— Security.level set to low
— Session.start set to false

2) used disableCache() for login action to avoid the caching of the login data in browser.

3) After logout i have destroyed the session.

Here is the code,

App Controller in beforeFilter :

$this->Auth->loginAction = array(‘controller’ => ‘users’, ‘action’ => ‘login’);

    $this->Auth->loginRedirect = array('controller' => 'users', 'action' => 'myaccount');

    $this->Auth->userScope = array('User.is_active' => '1', 'User.is_verified' => '1');

    //$this->referer();
    //auth errors  //add it
    $this->Auth->loginError = "Invalid username or password";
    $this->Auth->authError = "Sorry, you must be logged in to visit these pages";

    //logout
    $this->Auth->logoutRedirect = array('controller' => 'users', 'action' => 'login');

User Controller beforeFilter() :

function beforeFilter() {

    parent::beforeFilter();

    $this->Auth->allow(allowed_actions);

}

Thnaks,
Vijay

  • 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-22T14:50:01+00:00Added an answer on May 22, 2026 at 2:50 pm

    I’ve had the same problem, it was with a different cake version, but maybe this solution will help.

    In config I made a my_session.php file with the following values:

    ini_restore('session.referer_check');
    ini_set('session.use_trans_sid', 0);
    ini_set('session.name', Configure::read('Session.cookie'));
    ini_set('session.cookie_lifetime', 0);
    // Cookie path is now '/' even if you app is within a sub 
    // directory on the domain
    $this->path = '/';
    ini_set('session.cookie_path', $this->path);
    ini_set('session.cookie_domain', env('HTTP_BASE'));
    

    The important part is the $this->path value, sessions are now available for the whole domain.

    In core.php for sessions add:

    Configure::write('Session.save', 'my_session');
    

    Hopes this helps!

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

Sidebar

Related Questions

I'm facing a strange CoreData issue. Here's the log: 2010-04-07 15:59:36.913 MyProject[263:207] <MyEntity: 0x180370>
I am facing a strange issue where-in my webpage does not load fully after
I am working on a C# application and facing a strange issue here. I
I'm facing sort of a strange issue with two applications of mine. Here's the
I am facing a strange issue while using javascript setTimeout function in IE8. I
I am facing a very strange issue. I get an error Object Reference Not
I am facing a strange problem in cakePHP. The issue is when ever i
I am facing strange issue on Windows CE: Running 3 EXEs 1)First exe doing
I'm facing a strange issue, I'm trying to localize a website, so i converted
I'm facing a rather strange Issue when trying to load data from an XML-Webservice.

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.