good morning everybody
i want to make the following script, program whatever you may call it
i have made a simple website
there will be many registered users
i will make an object oriented authentication system
i already wrote a class
<?php
class user {
var $session_id;
var $user_id;
var $user_full_name;
var $user_login_name;
var $user_email;
var $user_password;
}
?>
when a person first comes to my site he will be asked for user name and password
he will be validated based on this
if he is indeed a registered user then an object of the class user will be instantiated
the variable session_id will now have his session id
and all other variables will have that particular users values extracted from a database
now my problem is how will store this object and where will i store it ( cant use cookies ) for
his visits to other pages so that the stupid web server wont ask for his login again and again
also how will i check if a user is logged in or not
( actually this is a part of my project to make an object oriented portal system, anyone
interested in being a part of this can contact me or PM me )
anyone who can help me in this just reply to this post or mail me ok
my mail id : mahendra_kalkura@yahoo.com
thanks
if this post is not fit to be in this category please move it where it belongs
thanks again