On Nov 13, 12:47 pm, Rayhan Chowdhury <[email protected]> wrote: > Hi, > > I am getting a very strange problem in CakePHP. When I store data into > session, it works. On next page load it gets changed automatically. > --- > Like: > pr($this->Session->read('data')); > $this->Session->write('data', '/mine2share.com/trunk/ > inviters/invitation/64/4'); > pr($this->Session->read('data')); > > Output 1: > > /mine2share.com/trunk/inviters/invitation/64/4 > > On next Refresh: > /mine2share.com/trunk/inviters/invitation/64/loading2.gif > > /mine2share.com/trunk/inviters/invitation/64/4 > ----- > > last character 4 has been replaced with loading2.gif. Similar things > happening with other data..
sounds like, unlike the code example you've shown, you're storing the current url in the session. AD -- 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
