Exforsys

Free Training

Check User Satus

This is a discussion on Check User Satus within the PHP forums, part of the Programming Talk category; Hi Friends, How i will check that user is, logged in or not. i want to make it a function ...

Go Back   Exforsys > Programming Talk > PHP

Exforsys.com

  #1 (permalink)  
Old 12-09-2006, 01:03 AM
Junior Member
 
Join Date: Feb 2006
Posts: 14
srinivas babu is on a distinguished road
Check User Satus

Hi Friends,

How i will check that user is, logged in or not. i want to make it a function and i want to use in each page and after login i want to go in current page.any one please help me.

thanks in advance
srinivas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-09-2006, 03:15 PM
Junior Member
 
Join Date: Dec 2006
Posts: 27
Quozty is on a distinguished road
you need to do something like

@start_session();

function login();
{
$_SESSION['loggedinname'] = "Quozty";

}


main page

if (isset($_SESSION['username'])
{
echo" logged in";
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software Jeroen Scheerder Tech FAQ 0 06-05-2004 06:00 PM
Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software Jeroen Scheerder Tech FAQ 0 05-01-2004 06:00 PM
Solaris x86 FAQ 2/2 Dan Anderson Tech FAQ 0 04-27-2004 07:24 PM
Quarterly ASCII posting of Caldera (SCO) OpenUNIX 8 FAQ Boyd Lynn Gerber Tech FAQ 0 04-25-2004 10:11 PM
Kerberos FAQ, v2.0 (last modified 8/18/2000) Ken Hornstein Tech FAQ 0 04-17-2004 07:28 AM


All times are GMT -4. The time now is 07:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.