Symfony uses PHP sessions as well, I think.  That's why it'll work.   
The only thing you'll have to deal with is if you want to use the  
"isAuthenticated()" function in the session wrapper of symfony.  To  
do that, you'll have to modify your old session to accommodate what  
symfony expects.

Alternatively, in the old site, write some logic into your login  
routine that takes the username and password and submits it to a  
module/action on the new site to login the user on that side, taking  
care that both sites use the same session name.

Charley

On Dec 6, 2007, at 2:18 PM, Tom Haskins-Vaughan wrote:

>
> Yeah it's on the same domain. But I'm using PHP sessions on the old  
> one.
>
> Charley Tiggs wrote:
>> Is the parent url the same?  If so, make sure the cookie that
>> controls the session sets the domain to ".myurl.com".  Then the
>> session should be available on both sites.
>>
>> Charley
>>
>> On Dec 6, 2007, at 12:44 PM, Tom Haskins-Vaughan wrote:
>>
>>> Hi, I am in the process of rewriting a PHP application in symfony  
>>> and
>>> there will be a certain time where both apps will be live. What I'm
>>> wondering is if it's possible to maintain a session from the old
>>> app or
>>> any other way of preventing the users having to log in twice as they
>>> move back and forth between the two apps?
>>>
>>> TIA
>>>
>>> Tom
>>>
>>>
>>
>>
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to