The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
login verify need help
Code:
<?php session_start(); define('VB_AREA', 'Forum'); $theForum = $_GET['fo']; include("../".$theForum."/includes/functions_login.php"); define('CWD', "/home/myserver/httpdocs/".$theForum); include("../".$theForum."/includes/init.php"); verify_authentication("somebody", "mypass", false, false, true, true); header("Location: ../$theForum"); ?> this code works fine and logs the person into the forum however if i edit the file and change the username to "sombody2" and load the file again on the SAME browser it will be stilled logged in as "somebody" both accounts are valid with the same password I guess the cookie/session is causing this, any idea how I can solve this problem? any help appreciated |
#2
|
|||
|
|||
Logout before trying to login with a different name.
|
#3
|
|||
|
|||
yea but the thing is that people don't usually log out
they just close the browser =( |
#4
|
|||
|
|||
Well then they will be automatically logged in of they ticked the Remember Me box.
Why do you want them to login with a different name when not logged out? |
#5
|
|||
|
|||
because its possible for a person to have multiple accounts.
And i dont want them to log in as another person when they are logged in as a different person in another part of my system. Its like having 2 bank accounts log into one, close browser, log into another bank account only to see the balance of the first bank account |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|