You may also be able to write a custom Session handler (e.g.
subclassing the incubator Db_SessionHandler) that uses a separate
column for each application. I've used the existing code for a
production site and it's been working a treat. (BTW would love to know
when's it going core?!?)
Cheers
Take a look at:
http://framework.zend.com/manual/en/zend.session.global_session_management.h
tml#zend.session.global_session_management.configuration_options
I think you may need to set the path for the cookies in each
application.
Cheers,
Steven
-----Original Message-----
From: Kexiao Liao [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 February 2008 2:11 PM
To: [email protected]
Subject: RE: [fw-general] Zend_Session::start()
These two web application belong to same domain for
example(ctresearch.ccf.org). Can you give me more detail about how
to create
different sessions for above two web application which belong to same
domain(ctresearch.ccf.org)?
Peter Lauri-2 wrote:
On Thu, 2008-02-28 at 14:01 +1000, Steven Brown wrote:
I have two web applications, they need to open within one
instance of
firefox by open another new tab, these two web application use
Zend_Session::start() to start their own sessions. It seems the two
web
application sessions may conflict with each other causing the web
application can not work correctly. Is there anyway to solve this
problem?
Thanks in advance.
You could create your own session object that separate the two of
them
with some identifier you can pass via url or similar. But I guess
there
is something built in in Zend already to arrange with this. /Peter
--
View this message in context:
http://www.nabble.com/Zend_Session%3A%3Astart%28%29-tp15729209s16154p1572930
4.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com