There´s so many config options for sessions that sharing them shouldn
´t be a problem, but from personal experience, I´ve found it a real
headache, especially with the double login issue you describe.
There are many posts about it, but all addressing slightly different
issues.

You could of course experiment with this first, it might prove simpler
for you than it did for me.

Someone who´s done this should write a case study for the bakery, it´d
help a ton of people, and might stop so many posts about this
cluttering the group.

Just my two cents...

Woody


On May 15, 11:48 am, Chandra <[EMAIL PROTECTED]> wrote:
> Rocky..thanks for the reply.  I am worried most about the
> authentication/sessions issue...Any idea if Cake and PHP sessions can
> work together.  I can't have the users reauthenticate themselves as
> they go between the regular PHP site and Cake site.
>
> -Chandra
>
> On May 15, 1:09 pm, rockit <[EMAIL PROTECTED]> wrote:
>
> > Hi Chandra i'm new as well to cake but i don't see any huge roadblocks
> > in using cake to extend your application.
>
> > if you notice in the bakery, there is a good resource on how to use
> > smarty for your presentation logic.
>
> > the business logic and classes can be placed in as components with a
> > few minor tweaks.
>
> > as far as accessing the db schema, you can do it the cake way or your
> > own way.
>
> > there's a bit of tweaking that would need to be done to your app i
> > imagine, but i wouldn't say it would have to go as far as refactoring
> > the code.  Most OO-PHP code in my experience has worked great with
> > cake.
>
> > On May 15, 11:56 am, Chandra <[EMAIL PROTECTED]> wrote:
>
> > > The company I work for has a PHP/MySQL (and the Smarty Template
> > > Framework as a front end) based website that been running for a little
> > > while....the time has come to add more functionality to the site.  I'd
> > > like to use use CakePHP to add these new features on...and I need to
> > > see if it's even possible (I'm a Cake newbie) and then need to sell it
> > > to my boss.  I was hoping somone could answer a few simple questions
> > > for me:
>
> > > 1.  Site Authentication is done using PHP sessions stored in a
> > > database...Can Cake use the same session methods or will the users
> > > have to re-authenticate as they pass between the old and new
> > > functionality (and vice-versa)
>
> > > 2.  There is some business logic and classes from the old site I need
> > > to use - anything to watch out for?
>
> > > 3.  In accessing the existing MySQL database schema...I can use Cake's
> > > CRUD capabilities...or is there a alternate way I should be accessing
> > > the data?
>
> > > Thanks for all your help,
>
> > > Chandra- Hide quoted text -
>
> > - Show quoted text -


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