Re: sessions being dropped on redirect or whenever i call a new page
Hi everyone, Just an update I deleted the php code at the beginning of default.ctp and it works. ugh... grainne On Jan 17, 2008 12:39 PM, BravoFoxtrot <[EMAIL PROTECTED]> wrote: > > I found the problem with my code using 1.2 beta. There was a > destroy('Menu'); method that was called. The intent was to only delete > part of the session that referred to the menu. I replaced this with > delete('Menu'); and it works. > > I have no idea how this working in 1.2 pre beta but it did... > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
I found the problem with my code using 1.2 beta. There was a destroy('Menu'); method that was called. The intent was to only delete part of the session that referred to the menu. I replaced this with delete('Menu'); and it works. I have no idea how this working in 1.2 pre beta but it did... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
I have mine low and 1.2 beta - I have no ajax and no images. i think the only thing left for me to do is start over and slowly plug things back in. i promise though if i figure out what this is i'll post to the list. in solidarity, grainne On Jan 16, 2008 10:37 AM, alex.tomes <[EMAIL PROTECTED]> wrote: > > I also have problems with this in 1.2 beta but I'm thinking it's > because I'm setting the session from an ajax call, that's the last > thing I've changed to see if it works. in 1.2 alpha it worked great, > not it doesn't anymore :*( > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
I also have problems with this in 1.2 beta but I'm thinking it's because I'm setting the session from an ajax call, that's the last thing I've changed to see if it works. in 1.2 alpha it worked great, not it doesn't anymore :*( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
I've had session dropping problems with images and request action, I found setting your security level to low in /app/config/core.php will help. Upgrading to the 1.2 beta seemed to fix my problems at high security Dave On Jan 16, 7:36 am, BravoFoxtrot <[EMAIL PROTECTED]> wrote: > Has anyone else had this problem? Or more importantly, has anyone > solved this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
Has anyone else had this problem? Or more importantly, has anyone solved this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
thanks so much for your help no underscore - i'm using firefox on windows/apache i think might try the latest code and slowly putting elements of my project in until it works/doesn't work That underscore was a great tip though. grainne On Jan 14, 2008 10:04 AM, candesprojects <[EMAIL PROTECTED]> wrote: > > Great tip. I was search for an answer also. > > Tks, > Cristian > > On Jan 14, 3:09 pm, djiize <[EMAIL PROTECTED]> wrote: > > there was a ticket about session regenerated for img in the page > > I didn't remind if it was fixed before or after the beta > > maybe you should try with a newer SVN code > > but as precedent advice said, check before if there's undescore in > > your localhost or subdomain. > > > > On 14 jan, 12:43, wirtsi <[EMAIL PROTECTED]> wrote: > > > > > Are you using IE? It silently drops the session if the hostname > > > contains an underscore took me ages to find out why > > > project_beta.domain.com wouldn't work ... > > > > > wirtsi > > > > > On 13 Jan., 15:50, Grainne <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > Hope you are all having enjoyable weekends... I'm certain I'm > missing > > > > something obvious - but I have spent days trying to figure out what > - > > > > so I thought I'd ask. > > > > > > My sessions are being dropped when or if I just go to a new page. > > > > > > I am using beta 1.2 > > > > I checked for whitespace outside of my models and controllers. > > > > My security is set to low. > > > > I have tried using cake,php, and database. > > > > I looked for session start in my vendor files - or really anywhere. > > > > I have tried it with debug set to 0-3. > > > > > > Thank you so much, in advance. I really apprecate it! > > > > > > - Grainne > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
Great tip. I was search for an answer also. Tks, Cristian On Jan 14, 3:09 pm, djiize <[EMAIL PROTECTED]> wrote: > there was a ticket about session regenerated for img in the page > I didn't remind if it was fixed before or after the beta > maybe you should try with a newer SVN code > but as precedent advice said, check before if there's undescore in > your localhost or subdomain. > > On 14 jan, 12:43, wirtsi <[EMAIL PROTECTED]> wrote: > > > Are you using IE? It silently drops the session if the hostname > > contains an underscore took me ages to find out why > > project_beta.domain.com wouldn't work ... > > > wirtsi > > > On 13 Jan., 15:50, Grainne <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Hope you are all having enjoyable weekends... I'm certain I'm missing > > > something obvious - but I have spent days trying to figure out what - > > > so I thought I'd ask. > > > > My sessions are being dropped when or if I just go to a new page. > > > > I am using beta 1.2 > > > I checked for whitespace outside of my models and controllers. > > > My security is set to low. > > > I have tried using cake,php, and database. > > > I looked for session start in my vendor files - or really anywhere. > > > I have tried it with debug set to 0-3. > > > > Thank you so much, in advance. I really apprecate it! > > > > - Grainne --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
there was a ticket about session regenerated for img in the page I didn't remind if it was fixed before or after the beta maybe you should try with a newer SVN code but as precedent advice said, check before if there's undescore in your localhost or subdomain. On 14 jan, 12:43, wirtsi <[EMAIL PROTECTED]> wrote: > Are you using IE? It silently drops the session if the hostname > contains an underscore took me ages to find out why > project_beta.domain.com wouldn't work ... > > wirtsi > > On 13 Jan., 15:50, Grainne <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Hope you are all having enjoyable weekends... I'm certain I'm missing > > something obvious - but I have spent days trying to figure out what - > > so I thought I'd ask. > > > My sessions are being dropped when or if I just go to a new page. > > > I am using beta 1.2 > > I checked for whitespace outside of my models and controllers. > > My security is set to low. > > I have tried using cake,php, and database. > > I looked for session start in my vendor files - or really anywhere. > > I have tried it with debug set to 0-3. > > > Thank you so much, in advance. I really apprecate it! > > > - Grainne --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: sessions being dropped on redirect or whenever i call a new page
Are you using IE? It silently drops the session if the hostname contains an underscore took me ages to find out why project_beta.domain.com wouldn't work ... wirtsi On 13 Jan., 15:50, Grainne <[EMAIL PROTECTED]> wrote: > Hi, > > Hope you are all having enjoyable weekends... I'm certain I'm missing > something obvious - but I have spent days trying to figure out what - > so I thought I'd ask. > > My sessions are being dropped when or if I just go to a new page. > > I am using beta 1.2 > I checked for whitespace outside of my models and controllers. > My security is set to low. > I have tried using cake,php, and database. > I looked for session start in my vendor files - or really anywhere. > I have tried it with debug set to 0-3. > > Thank you so much, in advance. I really apprecate it! > > - Grainne --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
sessions being dropped on redirect or whenever i call a new page
Hi, Hope you are all having enjoyable weekends... I'm certain I'm missing something obvious - but I have spent days trying to figure out what - so I thought I'd ask. My sessions are being dropped when or if I just go to a new page. I am using beta 1.2 I checked for whitespace outside of my models and controllers. My security is set to low. I have tried using cake,php, and database. I looked for session start in my vendor files - or really anywhere. I have tried it with debug set to 0-3. Thank you so much, in advance. I really apprecate it! - Grainne --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---