Re: Using Cake with Zend Session or Cake without any Sessions?

2007-07-27 Thread Chris Hartjes

On 7/27/07, Freight <[EMAIL PROTECTED]> wrote:
>
> Can I use Cake without any Session, even without Zend-Session?
>

Did you read the section in the manual about the Session Component?

http://manual.cakephp.org/chapter/session

I suggest you try this experiment:

1) go into config/core.php and comment out the line that defines what
session handler you want to use
2) try running your app

All will be revealed...

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

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

@TheBallpark - http://www.littlehart.net/attheballpark
@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 cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Using Cake with Zend Session or Cake without any Sessions?

2007-07-27 Thread Freight

Can I use Cake without any Session, even without Zend-Session?

On 26 Jul., 22:10, gwoo <[EMAIL PROTECTED]> wrote:
> Add Zend to your vendors directory. Write your own SessionComponent.
> use vendor('Zend/Session', 'Zend/Auth'); or whatever the path to the
> libs are. Create the methods you need like read, write, destroy.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Using Cake with Zend Session or Cake without any Sessions?

2007-07-26 Thread gwoo

Add Zend to your vendors directory. Write your own SessionComponent.
use vendor('Zend/Session', 'Zend/Auth'); or whatever the path to the
libs are. Create the methods you need like read, write, destroy.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Using Cake with Zend Session or Cake without any Sessions?

2007-07-26 Thread Freight

Hi,

components of cake are great. However I want to use ZendSession in my
project for some reason. For example the Class ZendAuth is using
ZendSession to save Auth-Data. This is very nice :-)

So my question: Is there a convinient way to use ZendSession instead
of CakeSession?

My idea is first to deactivate all the CakeSession-Functionality. Can
I deactivate Sessions in Cake or are they designed in the core? So can
I use Cake without any session-handling?

Thanks Freight


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---