I met similar issues. In the login process of our application, the auth component( $this- >Auth->login() ) could verify the login information and write customer data into $_SESSION. But once leaving or reloading current page, the data in $_SESSION will be reset. It happened sometimes, especially when testing by the manager, ...
I'm using latest version from SVN and the security level is 'medium'. --- kiang On 6月2日, 上午3時39分, adriaanb <[EMAIL PROTECTED]> wrote: > I have the same problem... > > Firefox does the right thing...IE and Safari(3) are screwing things > up. Realy can't find/think of a way to solve this. Did everything on > the topics/internet... > > I even put the wholesessionwriting in the beforeFilter of the > AppController for testing, see below: > > function beforeFilter(){ > $fontsize = explode("/", $this->params["url"]["url"]); > > if($fontsize[0] == "settings"){ > $this->Session->write('size', $fontsize[2]); > } > > } > > Firefox saves thesessionvar, but IE just not. There has to be an > explanation, right? > > Anybody a direction to look at? > > Thanx! > Adriaan > > On 9 mei, 19:08, bharath <[EMAIL PROTECTED]> wrote: > > > The security level was 'medium' before. and now i have set low and > > checked again the same problem continued. > > > I am using some more attributes in the xml tags, which works fine for > > mozilla and not forIE. > > > For Ex. i f want to load the alerts(buttons and menus) and other > > toolbar buttons, i need to reload the toolbar. for this i can call > > tool.reload() from html page. or there is a sync attribute in xml tags > > which takes the values as 'onDocumentComplete', 'beforeNavigate' or > > 'both', if i use any of these attributes which actually refreshes the > > toolbar to change its contents after login, thesessiongets lost only > > inIE-6.0/7.0. but in Mozilla , it works fantastic, the toolbar gets > > reloaded after the document is completed in mozilla. > > > Below are the core.php settings. > > define('CAKE_SESSION_SAVE', 'php'); > > define('CAKE_SESSION_COOKIE', 'CAKEPHP'); > > define('CAKE_SECURITY', 'low'); > > define('CAKE_SESSION_TIMEOUT', '120'); > > define('AUTO_SESSION', true); > > > On May 8, 8:08 pm, Esoteric <[EMAIL PROTECTED]> wrote: > > > > Try changing your security setting to medium, see if that fixes your > > > problem. > > > > -Erik > > > > On May 8, 10:29 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: > > > > > Whats thesessionsecurity in cake ? did you try to play with it ? > > > > > On Thu, May 8, 2008 at 8:21 AM,bharathkumar <[EMAIL PROTECTED]> wrote: > > > > > Hi All, > > > > > > I have got a strange problem inIE-6.0. we have built a browser > > > > > plugin(Toolbar) for our application, which changes its contents > > > > > dynamically > > > > > after loggin in to our application. we have used Best toolbar studio > > > > > to > > > > > build a toolbar . what i am experiencing is, when i used the below > > > > > java > > > > > script function to reload the toolbar, mysessiongets lost and i am > > > > > kicked > > > > > back to the login page. Also we tried using a sample toolbar that uses > > > > > session_start(); to startsessionafter login and change its contents > > > > > dynamically after logging in without thesessionbeing lost. In Mozilla, > > > > > everything works fine withoutsessionbeing lost. > > > > > > <?php > > > > > echo "<script> > > > > > function ToolBarInit(tool) > > > > > { > > > > > tool.Reload(); // A java script function > > > > > } > > > > > </script>" ; > > > > > ?> > > > > > > it would be very helpful if someone has experienced the same > > > > > problem, or > > > > > have encountered the same problem inIEwheresessiongets lost after > > > > > reload > > > > > function, please share your views on this. > > > > > Thanks in Advance > > > > > > Cheers > > > > > Bharath > > > > > -- > > > > Marcin Domanskihttp://kabturek.info > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---