I'm trying to get an image link to work and I found this method on the
internet:

echo $html->link($html->image('add.png') . ' Text' , '/smarts/
add',null,null,false);

but whenever I use this in a page it resets my session somehow so that
I fail $this->Session->check('User'). If I leave out the image and
just use: $html->link(' Text ','/smarts/add',null,null,false); then
the session persists. I've also found that putting an normal html
links (such as "a href=" or "img src=") will also cause my session to
fail, but $html->link and $html->image both work fine. I've tried this
on several servers and can't get it to behave. Any ideas? below are my
session store and session check calls:

$this->Session->write('User', $someone['User']);
$this->Session->check('User')

Thanks,
Dave

:wq
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to