bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
08. Support - General talk
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
admin login pb with a new install 1.0.4 (regiter_global ON)
Post Reply
Daniel Misud
Joined: 06 Oct 2005
admin login pb with a new install 1.0.4 (regiter_global ON)
Posted:06 Oct 2005 (07:52 UTC)
Daniel Misud
Joined: 06 Oct 2005
admin login pb with a new install 1.0.4/1.0.5
Posted:07 Oct 2005 (07:45 UTC)
spiderr
Joined: 08 Feb 2004
Re: admin login pb with a new install 1.0.4/1.0.5
Posted:08 Oct 2005 (17:18 UTC)
Daniel Misud
Joined: 06 Oct 2005
Re: admin login pb with a new install 1.0.4/1.0.5
Posted:09 Oct 2005 (18:32 UTC)
Daniel Misud
Joined: 06 Oct 2005
[BUG] Bad Session Cookies
Posted:10 Oct 2005 (22:09 UTC)
spiderr
Joined: 08 Feb 2004
Re: [BUG] Bad Session Cookies
Posted:11 Oct 2005 (17:02 UTC)
Daniel Misud
Joined: 06 Oct 2005
Posted:11 Oct 2005 (20:42 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="5781" user="dmissud"}Hum i think i find something. I look the function BitUser.login and i find this code : [code:1:be685ec001] // Now if the remember me feature is on and the user checked the rememberme checkbox then ... if ($gBitSystem->isFeatureActive( 'rememberme' ) ) { if (isset($_REQUEST['rme']) && $_REQUEST['rme'] == 'on') { setcookie($user_cookie_site, $userInfo['hash'], (int)(time() + $gBitSystem->getPreference( 'remembertime' )), $gBitSystem->getPreference('cookie_path'), $gBitSystem->getPreference('cookie_domain') ); } } else { setcookie(BIT_SESSION_NAME, $userInfo['hash']); } [/code:1:be685ec001] First i was surprise to see that i have a different code for set the cookie if the flag rememberme was ON or OFF. So i test and i set this flag ON in my configuration and What a surprise all work now (no more cookie with bad path was created). so i make the change [code:1:be685ec001] // Now if the remember me feature is on and the user checked the rememberme checkbox then ... if ($gBitSystem->isFeatureActive( 'rememberme' ) ) { if (isset($_REQUEST['rme']) && $_REQUEST['rme'] == 'on') { setcookie($user_cookie_site, $userInfo['hash'], (int)(time() + $gBitSystem->getPreference( 'remembertime' )), $gBitSystem->getPreference('cookie_path'), $gBitSystem->getPreference('cookie_domain') ); } } else { setcookie($user_cookie_site, $userInfo['hash']); } [/code:1:be685ec001] and now all work find with remember option On or Off. spider, Could you confirm that was the good correction please ?{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…