Yii Framework Forum: Undefined Index:session_Id - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Undefined Index:session_Id undefined index: session_id Rate Topic: -----

#1 User is offline   Joemaxwell 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 25
  • Joined: 13-February 13
  • Location:Fiji Via Melbourne

Posted 23 July 2013 - 06:12 PM

loginResponse.php(38)

26 $this->error = "OK";
27 }
28 elseif ($this->error != "OK")
29 $this->error = $this->tr->_($this->error);
30
31 if (isset($this->info))
32 $this->info = $this->tr->_($this->info);
33 */
34 //unset($this->tr);
35 // {"isAuthenticated":false,"select_companies_ids":[{"id":"122","name":"Increment"},{"id":"36","name":"iTvTi"},{"id":"143","name":"Vulcan Works"}],"error":"OK"}
36 // print_r($company_ids);
37 if (isset($companies_ids))
38 $response = '{"isAuthenticated":false,"session_id":'.$data['session_id'] .','.'"select_companies_ids":'. CJSON::encode($companies_ids) . ',"error":"' . $data['error'] .'"}';
39 else
40 $response = '{"isAuthenticated":false,"session_id":"' . $data['session_id'] . '","error":"' . $data['error'] .'"}';
41
42 print_r($response);
43 // echo $response;
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,648
  • Joined: 17-January 09
  • Location:Russia

Posted 25 July 2013 - 03:28 AM

What do you mean?
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users