TalkPHP
 
 
Account Login
Latest Articles
» How to keep your forms from double posting data
» cURL Basics
» Securing your PHP applications Part 1
» The way the function rolls
» Database Abstraction with Zend_Db - Part 2
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Display Modes
Old 06-27-2008, 06:22 AM   #21 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 789
Thanks: 154
Orc is on a distinguished road
Default

The above code looks like its not assigning a username and password but rather a static online bit which doesn't change, in opinion logged means it checks if the user logged so that makes him online.


You can also try, session_unregister('logged') or unset($_SESSION['logged']), cant recall using them to be honest, >.< right now im more busy in a project thats using Java.
__________________
Wax on, Wax off
Orc is offline  
Reply With Quote
The Following User Says Thank You to Orc For This Useful Post:
codefreek (06-27-2008)
Old 06-27-2008, 07:21 AM   #22 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 221
Thanks: 2
Jim is on a distinguished road
Default

If i recall correctly you first have to start the session also before you can destroy a session.
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
The Following User Says Thank You to Jim For This Useful Post:
codefreek (06-27-2008)
Old 06-27-2008, 08:29 AM   #23 (permalink)
The Addict
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 283
Thanks: 166
codefreek is on a distinguished road
Default

Jim, you are a god ;)
Thank you for your help :)

Ty, Orc :)
__________________
inquisitive
1. Eager to acquire knowledge.
2. Too curious; overly interested; nosy.
codefreek is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:15 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0