On Dec 19, 2007 12:42 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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:

I have never seen such behaviour before either with Cake or any other
PHP app I've written.  As mean as it sounds, I'm inclined to believe
there are other factors at play.  Why would putting in image tags or
href links cause a session to die?  It makes absolutely no sense given
my experiences, which leads me to suspect that code is causing the
problem not CakePHP.

But that's just my opinion.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

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