Gandalfwrote: For everyone having the problem of cookie lifetime so small, please make sure your php session.save.path is in your include_dir and Writable i've been fighting with it since my last post above and finally when i made the path writable problem solved!
Good luck
Gandalf:
Can you give me a bit more clear info on that? i'm no expert and would like to solve that problem too.
Hi Gandalf thankd for your reply but i can't find that file/folder.
I go to the mambo install folder then inside the includes folder, but see no php.ini folder or a session.save.path file. Sorry i'm no expert but can you tell me exactly where to look and if i don't have it how to create it? thank you
I posted a few days ago a topic regarding sessions, and remember me function of mambo. There was a small mistake in the mambo.php regarding the doMamboSMF call when the user has selected the remember me of Mambo. Also i made a slight hack inside the smf.php file so that when a mambo user session has expired the SMF session is also destroyed.
Thank you gandalf, i'll contact my system admin and tell him to check this.
In the meantime i partially soved the problem by doing the following:
1: Logged out with the original mambo login (wich was set to remember me forever). 2: Set timeout sessions the same in mambo AND forum (i set them to 60 minutes each) 3: Unpublished the mambo login, published the smf login and logged in with that.
this way mambo cannot set me logged forever and smf will kick me out from both mambo and forum in the same time. So users will have to always login again but at least they will not experience the timeout in forum and still be logged in mambo.
by the way, i found this bug in this website too. I have to login everytime i come back here even if i select the remember me option. Is that correct Ross?
Simon
« Last Edit: September 04, 2005, 05:46:02 PM by zimen »
I created this hacked file for smf, it actually checks if the SMF sessions or the Mambo session has died. If the mambo session is dead then it expires the SMF session as well. If the mambo session is active it and the SMF session is dead (either has timeout or the rememberme option of mambo was selected) then it re-creates the SMF session based on the userid and after querying the SMF user table.
I created this hacked file for smf, it actually checks if the SMF sessions or the Mambo session has died. If the mambo session is dead then it expires the SMF session as well. If the mambo session is active it and the SMF session is dead (either has timeout or the rememberme option of mambo was selected) then it re-creates the SMF session based on the userid and after querying the SMF user table.
thanks! I'll check it out and let you know if it fixes my problem.
I created this hacked file for smf, it actually checks if the SMF sessions or the Mambo session has died. If the mambo session is dead then it expires the SMF session as well. If the mambo session is active it and the SMF session is dead (either has timeout or the rememberme option of mambo was selected) then it re-creates the SMF session based on the userid and after querying the SMF user table.
Excellent so far. Thanks mate. And I have community builder and gallery2 as well. Still testing though.
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE