You can use Router like:
$url = Router::url(array('controller'=>'users', 'action'=>'login'));
$this-Session->setFlash(sprintf('Please <a href="%s">login</a>', $url));


On Friday, March 9, 2012 3:47:17 AM UTC+1, Thiago Silva wrote:
>
> Hello, 
>
> I'm trying to insert links in the Session->setFlash method, but it's 
> not working. 
> I've tried to use Html helper in the controller but it crashed. 
> I'm using version 2.1. 
>
> Thanks, 
> Thiago

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

Reply via email to