Home arrow Forum
mambo vs SMF session
  Welcome, Guest. Please login or register.
January 08, 2009, 04:53:18 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: mambo vs SMF session « previous next »
Pages: [1] Go Down Print
Author Topic: mambo vs SMF session  (Read 5189 times)
Damienov
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 16



View Profile
mambo vs SMF session
« on: May 03, 2005, 01:10:53 PM »

This may not be a bug on the SMF forum integration, but I notice something realy interesting.

try logging in with the login module, leave it for about 10 to 15 minutes and its automaticaly logs you out based on the seeting you specify at mambo configuration.

Now try logging trough the forum which has an option of loggin you forever, wait 10 or 15 and more.

In my case, the login module does exacly as mambo told it to be, but the SMF login does what it's supposed to be as the SMF setting. My point is, IF the user logs in with the SMF login and closed the browser and open it again the SMF Forum is still logged because you opt for the cookies to remain "forever". I have encounter this at www.monoload.com when i visit the forum is still logged in and the login module is not?

is anyone encounter the same?
Note: Im using Firefox, I dont think the SMF login "forever" opt works in IE

Thanks  Smiley
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: mambo vs SMF session
« Reply #1 on: May 03, 2005, 02:15:49 PM »

Yes, that's gonna be the case. Because Mambo and SMf has their own session. But SMF implemented it differently.

In my honest opinion, that SMF login feature is just too much. Users often just ignore it. I mean, think of an app that does that? Yahoo mail or other webmail apps? Friendster? Mambo.. etc... they don't. Because user won't be logged forever, or 1 month, 1 week, 1 day, etc... Or would they know how long they will be logged. If a user is logged, they should be in front of the computer.

If the user forgot to logout, the session should just die based on the default time limit just like those other apps does. I've designed different web app projects, and this feature imho, is just an overkill.
« Last Edit: May 03, 2005, 02:17:21 PM by admin » Logged
Lifeischoice
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 26


View Profile
Re: mambo vs SMF session
« Reply #2 on: May 03, 2005, 02:37:43 PM »

Is it possible to use the smf login agreement form?
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: mambo vs SMF session
« Reply #3 on: May 03, 2005, 03:26:00 PM »

Unfortunately, not for the new version. Because mambo does not have that. I can or somebody can probably hack mambo registration module and add an agreement text. Should be easy.
Logged
Damienov
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 16



View Profile
Re: mambo vs SMF session
« Reply #4 on: May 03, 2005, 03:46:29 PM »

Yes, that's gonna be the case. Because Mambo and SMf has their own session. But SMF implemented it differently.

In my honest opinion, that SMF login feature is just too much. Users often just ignore it. I mean, think of an app that does that? Yahoo mail or other webmail apps? Friendster? Mambo.. etc... they don't. Because user won't be logged forever, or 1 month, 1 week, 1 day, etc... Or would they know how long they will be logged. If a user is logged, they should be in front of the computer.

If the user forgot to logout, the session should just die based on the default time limit just like those other apps does. I've designed different web app projects, and this feature imho, is just an overkill.

Correct me if im wrong  Tongue
but if I login with mambo, i'm using mambo cookies for the session?
if I logged in with SMF, im using smf cookies for the session? (IMO this is a potentialy security risk if your using public pc to access)

is there a way to make to make the mambo login use SMF cookies ar vice versa (I much prever using mambo)

btw how long did you set mambohacks session time? it seem to log me out way to quick and the remember me option doesnt seem to work well

cheers
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: mambo vs SMF session
« Reply #5 on: May 03, 2005, 03:55:27 PM »

I didn't really hack anything about the login process. The process is the same as they log without this component. All this component does is call the mambo login and smf login process.
Logged
Damienov
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 16



View Profile
Re: mambo vs SMF session
« Reply #6 on: May 03, 2005, 04:21:10 PM »

I didn't really hack anything about the login process. The process is the same as they log without this component. All this component does is call the mambo login and smf login process.
And a great work at that  Wink
your aproach is more subtle than the previous ortisto integration.

Just a tip:
why not make the SMF mod to uncomment the index.template.php so it would not show the SMF login. is this posible?
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: mambo vs SMF session
« Reply #7 on: May 03, 2005, 04:39:57 PM »

I never tried that. But at least, if that don't work, you can edit that template and remove the login form.

EDIT: actually you can go to SMF admin and uncheck the option to hide the quick login form.
« Last Edit: May 03, 2005, 04:55:17 PM by admin » Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: mambo vs SMF session « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
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