
Originally Posted by
just2011 OK,
Thanks for all the replies.What i wanted to do was allow only one user to log using one username at a given time.i found a solution to write a unique key to a temp table and session var compare it everytime a new page is loded.
now i need to include the file containing the code for this all the files cos everytime a new page is loaded this script needs to run..
1 Ques : how do i make the DB connection inside the new file i made.i tried including some files but it says "Not a valid entry point"
2Ques : is there a easy way to run this script before any page loaded.or do i have to include it manually to each and every page?
Please help me on this...
Thanks
Just
Bookmarks