As I said, you're making a 2nd Cake request to get the image. If it
was just an ordinary image (or script, css, etc.) it wouldn't be a
problem. Cake has an unreasonably (IMHO) "high" security setting. I
have no idea how/why it would ever be useful. It just seems to break a
lot of things.

On Mon, Apr 13, 2009 at 7:13 PM, Rufus <[email protected]> wrote:
>
> Thanks a mil,
>
> I set it to medium and I am no longer getting kicked. Dont know why
> session timeout has anything to do with it but meh.
>
> Thanks Brian
>
> On Apr 14, 3:16 am, brian <[email protected]> wrote:
>> I suspect this is due to the same session problems some people have
>> been having. You're making a 2nd request for the img. That's not out
>> of the ordinary, in itself, but this request goes through Dispatcher
>> and so Auth gets involved. It may have something to do with
>> Security.level (in core.php) being set to 'high'.
>>
>> On Mon, Apr 13, 2009 at 3:49 AM, Rufus <[email protected]> wrote:
>>
>> > Also I am displaying the image like so:
>>
>> >                <td>
>> >                  <?php echo '<img '.$image['Image']['name'].' 
>> > src="http://site.com/
>> > images/display/'.$image['Image']['id'].'" title="'.$image['Image']
>> > ['name'].'" alt="'.$image['Image']['name'].'" />'; ?>
>> >                </td>
>>
>> > This is where the problem lies I think
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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