Results 1 to 10 of 18
Threaded View
-
23rd Aug 2010, 01:27 PM #11OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comyea VB / PHPBB they have Session Fixation Implemented already, this mainly for personal apps you create.
Another method that i would bet face-book's code goes along is something like this .
PHP Code:$timeout = 60 * 60; // 1 hour
$fingerprint = md5('MY-SECRET-SALT'.$_SERVER['HTTP_USER_AGENT']);
session_start();
if(
(isset($_SESSION['last_active']) && (time() > ($_SESSION['last_active']+$timeout)))
|| (isset($_SESSION['fingerprint']) && $_SESSION['fingerprint']!=$fingerprint)
|| isset($_GET['logout']) )
{
//Logout!
}
session_regenerate_id(); //ALWAYS BEFORE
$_SESSION['last_active'] = time();
$_SESSION['fingerprint'] = $fingerprint;
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[help] Detect session on URL
By jomasaco in forum Web Development AreaReplies: 4Last Post: 28th Apr 2011, 05:20 PM -
China Web hijacking shows Net at risk
By Benign in forum News & Current EventsReplies: 4Last Post: 18th Nov 2010, 06:32 AM -
[PHP] Session's secure
By Nedim! in forum Web Development AreaReplies: 2Last Post: 12th Oct 2010, 05:43 PM -
stop image hijacking (anti-hotlinking) Lighttpd
By jessepure in forum Server ManagementReplies: 4Last Post: 16th Jan 2010, 12:19 PM -
Webcam session with To0 :P
By CyberJ37 in forum General DiscussionReplies: 40Last Post: 22nd Dec 2009, 09:20 AM
themaLeecher - leech and manage...
Version 5.07 released. Open older version (or...