Hi Olivier,
Try the attached patch if you like. It won't be included in 0.9.16, but
should work for your purposes.
I am currently testing what I proposed in the earlier comment in a
private branch. That should make its way back into the phpgw tree at
some point.
Cheers
Dave
--
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e [EMAIL PROTECTED]
w phpgroupware.org
j [EMAIL PROTECTED]
sip [EMAIL PROTECTED]
_ ____ __ __
_ __ | |__ _ __ / ___|_ __ ___ _ _ _ _\ \ / /_ _ _ __ ___
| '_ \| '_ \| '_ \| | _| '__/ _ \| | | | '_ \ \ /\ / / _` | '__/ _ \
| |_) | | | | |_) | |_| | | | (_) | |_| | |_) \ V V / (_| | | | __/
| .__/|_| |_| .__/ \____|_| \___/ \__,_| .__/ \_/\_/ \__,_|_| \___|
|_| |_| |_|Web based collaboration platform
Index: phpgwapi/inc/class.sessions.inc.php
===================================================================
--- phpgwapi/inc/class.sessions.inc.php (revision 18510)
+++ phpgwapi/inc/class.sessions.inc.php (working copy)
@@ -420,6 +420,10 @@
{
$dom = $arr[1];
}
+
+ $this->cookie_domain = $dom;
+
+ /*
$parts = explode('.',$dom);
if (count($parts) > 2)
{
@@ -439,6 +443,7 @@
{
$this->cookie_domain = '';
}
+ */
print_debug('COOKIE_DOMAIN',$this->cookie_domain,'api');
$this->set_cookie_params($this->cookie_domain); // for php4 sessions necessary