Re: Sessions Weirdness

2008-05-04 Thread Sam Sherlock
have you emptied the files (leaving folders) in the tmp dir?

2008/5/4 MikeK [EMAIL PROTECTED]:


 We used to have our cake app running in a subdir off our public_html
 called foo. So all cake paths were
 http://mysite.com/foo/controller/action/

 We moved the app to the root directory and restructured the site to
 let everything else hang from the cake app's webroot. We just noticed
 suddenly some code that uses session vars is inexplicably no longer
 working. We have no hard-coded paths whatsoever.

 For example a controller sets a session var to remember the refering
 webpage. It is still instantiated in the view which is a form. WHen
 the form is submitted and we run back through the controller the
 session var of the original referring page is caput! ALso our email
 functions which pass set vars to templates stopped working.

 Can;t imagine what we did to make it mad - any advise is greatly
 appreciated. Dents in my head I have to call it a night.

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Sessions Weirdness

2008-05-03 Thread MikeK

We used to have our cake app running in a subdir off our public_html
called foo. So all cake paths were
http://mysite.com/foo/controller/action/

We moved the app to the root directory and restructured the site to
let everything else hang from the cake app's webroot. We just noticed
suddenly some code that uses session vars is inexplicably no longer
working. We have no hard-coded paths whatsoever.

For example a controller sets a session var to remember the refering
webpage. It is still instantiated in the view which is a form. WHen
the form is submitted and we run back through the controller the
session var of the original referring page is caput! ALso our email
functions which pass set vars to templates stopped working.

Can;t imagine what we did to make it mad - any advise is greatly
appreciated. Dents in my head I have to call it a night.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---