Home arrow Forum
login problem
  Welcome, Guest. Please login or register.
November 20, 2008, 09:53:27 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: login problem « previous next »
Pages: [1] Go Down Print
Author Topic: login problem  (Read 4305 times)
Gianni
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
login problem
« on: April 11, 2005, 07:53:59 AM »

Hi all,
whit the login module I'm able to login both in mambo and SMF.
If I come back after some time to the website I'm still logged to SMF bat no more in Mambo.

This is my site: www.phpnews.it
Logged
Gianni
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: login problem
« Reply #1 on: April 12, 2005, 01:54:02 PM »

help me please!  Cry  Cry  Cry
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: login problem
« Reply #2 on: April 12, 2005, 09:48:20 PM »

The SMF session last forever unless you logout or shutdown your computer. So when you come back, you'll find that your still logged. However, the mambo session only last for a period of time. If you want, you can remove the "forever" dropdown in the login.
« Last Edit: April 12, 2005, 10:08:51 PM by admin » Logged
Gianni
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: login problem
« Reply #3 on: April 13, 2005, 01:33:12 AM »

The problem is that after only some hours mambo "forget" me!
Logged
Wil
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: login problem
« Reply #4 on: April 13, 2005, 12:21:29 PM »

I've changed the loginform to:
<td colspan="4"><form action="', $scripturl, '?action=mambo_login" method="post" style="margin: 3px 1ex 1px 0; text-align:'.$smf_align.';">
            <input type="hidden" class="button" name="message" value="',$message_login,'" />
            <input type="hidden" name="return" value="',$mosConfig_live_site,'/',basename($_SERVER['PHP_SELF']),'?',$_SERVER['QUERY_STRING'],'" />
            <input type="hidden" class="button" name="lang" value="',$mosConfig_lang,'" />
            <input type="hidden" name="returnurl" value="', $params->get('login'),'" />
            <input type="hidden" name="cookielength" value="-1">
            <input type="hidden" name="op2" value="login" />
            Gebruikersnaam:
            <input type="text" class="inputbox" name="user" size="10" />
            Pass:
            <input type="password" class="inputbox" name="passwrd" size="10" />
            <input type="submit" class="button" value="', $txt[34], '" /></form></td>

so everone is logged in forever until they logout out by clicking the logoutbutton!
Logged
Gianni
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: login problem
« Reply #5 on: April 14, 2005, 01:34:47 AM »

My problem happens only using firefox  Huh
Logged
Wil
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: login problem
« Reply #6 on: April 14, 2005, 11:53:27 AM »

Why always fixing things 100 % for Mozilla and Firefox, more than 95 % of visitors are using IE  Cool
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: login problem « 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