0

Zend_Auth uses PHP Session but, codeigniter has a different approach altogether.

The project that I am working on requires that anyone who hasIdentity() in zend, when logs into another system which uses codeigniter, should not have issues to browse around.

How do I set Codeigniter session when I authenticate the user on zend system

and next step is - vice-versa.

Thanks in Advance.

EDIT: Both the sites are using different database but, users are indexed together.

Keval Domadia
  • 4,768
  • 1
  • 37
  • 64
  • So, maybe a dumb question, but are both of these sites sharing the same database? – imm Aug 07 '12 at 05:36

1 Answers1

0

A quick workaround is to check for Zend Auth storage and if it exists, depending on what was hasIdentity, we generate CI Cookies, once the session expires in Zend app, we do a check and delete CI Cookies.

That is the only workaround I could figure out, which worked! :)

Keval Domadia
  • 4,768
  • 1
  • 37
  • 64