Bug Report #4312

cant get native session under ie7

Added by tim h 7 months ago. Updated 7 months ago.

Status:Closed Start date:10/20/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Core
Target version:v3.1.5
Resolution:invalid Points:1

Description

I am using kohana3.2.

It works fine under firefox,but when I tested under ie7,cant get session data.

I add this to print all session data:
print_r($_SESSION);

and its empty.

By the way,the session generated by kohana native method.

History

Updated by Rowan Parker 7 months ago

Can you please post the code you are using in your controller so we can try to replicate the problem. Can you try the code below and post what happens.

class Controller_Session extends Controller
{
    public function action_index()
    {
        echo Debug::vars(Session::instance());
        Session::instance()->set('foo','bar');
        echo Debug::vars(Session::instance());
    }
}

Updated by Isaiah DeRose-Wilson 7 months ago

  • Category set to Core
  • Status changed from New to Closed
  • Target version set to v3.1.5
  • Resolution set to invalid

Are cookies working? That's the first thing you should check. Also try posting on the forums instead of here to get help troubleshooting your problem. It's highly unlikely this is a Kohana issue.

Updated by tim h 7 months ago

Isaiah DeRose-Wilson wrote:

Are cookies working? That's the first thing you should check. Also try posting on the forums instead of here to get help troubleshooting your problem. It's highly unlikely this is a Kohana issue.

I solved this problem,session and cookie lost in iframe under ie7.Its p3p issue.

Thanks.

Also available in: Atom PDF