Hello Friends,

 Can any one help me to solve the proble....?

I have written  a code in app controller. to write the value in
session in beforeFilter()

//$this->params['pass'][0] ->  87445d5sd54dsd554

if(!empty($this->params['pass']) && strlen($this->params['pass'][0]) >
6)
{
                    $this->Session->write('uniqueId', $this-
>params['pass'][0]);
                    $uniqueId = $this->Session->read('uniqueId');
}


In app controller it is working fine but when i am loading other
controller via ajax and trying to read the data of session it some
time appeared and some time loading2.gif is displaying.

Because of this issue my session is corrupting the data. I have
broken  my head with this issue
echo $uniqueId = $this->Session->read('uniqueId');

Output:   loading2.gif



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to