I'm trying to show a running activity log using rss feeds from various plugins. I can handle everything pretty well except the fact that what the feed should return is based on the user doing the request. But we don't know the user doing the request because Session->read() returns nothing. These feeds should only be available to the app itself - not outside feed readers or anything - and should only be available when a user is logged in. So when the request is made the page which is to display the feeds is being called by someone who is logged in.
Hardcoded example: foreach($Simplepie->feed('http://localhost/projects/projects/messages/ 79.rss') as $feed) :$data = array( 'title' => $feed->get_title(), 'permalink' => $feed->get_permalink(), 'datetime' => $feed->get_date(), 'description' => $feed->get_description(), 'name' => $url['News']['name']); array_push($feeds, $data); endforeach; I've reviewed the output and instead of returning the raw text of an rss file (like it does if I just go to the requested url instead of calling it with a feed parser), it returns the html for our login page. Which obviously happens because Auth is redirecting it. Any idea how I pass the session for that request so that, 1. I don't get redirected to the login page and, 2. So that the feed can return values specific to that logged in user. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php