Home arrow Forum Latest posts of: Chemofunk
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 07, 2009, 01:54:22 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla session end, SMF not on: August 19, 2006, 01:57:40 PM
I investigated furthermore in this issue, and finally I know why it is not working.

If the Joomla RG_Emulation in globals.php is set to 0 (which is best for security reasons), the parameters in the login process are not correct parsed.

The function
Code:
function integrateLogin($user, $pass, $cookietime)
tries to get the following variables:
Code:
global $username, $password, $cookieneverexp, $cookielength;
which fails with RG_Emulation 0.

With the use of
Code:
$cookielength = $_REQUEST[cookielength];
...
..
.
its working again.

Perhaps this helps the developers to make a future version register_globals off compatible, as this is more and more important  Smiley

//edit:
I think this problem is caused by register_globals off, too.
2  Joomla Hacks / Joomla-SMF 1.1.x / Re: Error on: August 19, 2006, 12:05:41 PM
I am having this bug, too. Reinstalling does not help.

Code:
J! 1.0.10
JSMF 1.1.4.2
RegisterGlobals Off
3  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla session end, SMF not on: August 17, 2006, 02:35:59 PM
there has been no change to the bridge code however I suspect Joomla sessions have changed with 1.0.10. 

I think you are right.

Because SMF session is still fine, but Joomla's session ends after the specified value of seconds in the J backend, even if you mark the option "Stay always logged in" Undecided

Will there be any fix or patch to avoid this? Or do we have to wait for JSMF2 ? Smiley
4  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla session end, SMF not on: August 17, 2006, 09:17:00 AM
Thanks I know, but as you said this is no solution. One member logs in at a public place and the session ends after 2 years Roll Eyes Yipiieh security!
 
If you are having the same problems, I think the problem of not synced sessions with the actual version 1.4.2 of com_smf and Joomla 1.0.10 is well known... Undecided

Any fix or patch on the horizon?


Code:
Some more information on the system:
register_globals off
safe_mode off

Session/Cookie settings Joomla -> Standard
Session/Cookie settings SMF -> Standard (no local storage / subdomain activ)

I remember that this happened also in previous versions of com_smf, and the developers (cowboy?) fixed it at that time with a new release which included a session/cookie bugfix.

This would be great now  Grin
5  Joomla Hacks / Joomla-SMF 1.1.x / Joomla session end, SMF not on: August 16, 2006, 06:21:34 PM
Hi there,

I am having session / cookie problems with my Joomla / SMF installation.

System specs:
Joomla 1.0.10
SMF 1.1RC2
SMF Bridge 1.4.2 with newest login modul

If I mark the option "Stay always logged in", I'm getting logged of after ~60 minutes from Joomla, but not from SMF.

The mod_smf_login shows me still as logged in, but in fact I am not, as other "Registered only" functions in Joomla are disappearing and I have to relog on.

I tried nearly everything, any ideas on how to fix this?  Undecided

Any help is greatly appreciated!  Cheesy
6  Joomla Hacks / Mambo-SMF 1.3.x / Re: Login/Session Problems SMF-Login on: May 15, 2005, 09:06:07 AM
Could it be, that the "Remember me" / "Stay logged in" Checkbox doesnt submits its value to the SMF login process?

Because I am logged out after 60minutes, exactly the time the forums default setting for a cookie lifetime.

Any ideas on how to change this to make the Checkbox working for both Mambo & SMF ?
7  Joomla Hacks / Mambo-SMF 1.3.x / Re: New Login Bug on: May 15, 2005, 07:08:16 AM
Yes, I am having the same problem.  Embarrassed
8  Joomla Hacks / Mambo-SMF 1.3.x / Cookie Lifetime --> SMF_login_module on: May 14, 2005, 08:47:58 AM
Hi there,

first of all: Great work with the SMF-Integration!  Cheesy

But I got some problems with the Sessions/Authentications with SMF-Login. This module is supposed to log on to Mambo and SMF at the same time, isn't it?

But the sessions ends always after some time (30-60min i think?), even if "Always logged on" is marked.

If I come back on my site after an hour or two, I am still logged on in Mambo, but not in SMF, so the SMF-login shows the login.

Any ideas? Smiley

Thanks in advance...
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login