Solved

find a value in the session of all users

Posted on 2008-10-10
1
195 Views
Last Modified: 2012-05-05
hi experts,

lets say I have a user called 'paul' and a the $_SESSION[user_name]
I am trying to check if 'paul' exist as a value  in all the sessions stored in my site not only for one user's browser.


0
Comment
Question by:uk1900
1 Comment
 
LVL 17

Accepted Solution

by:
nanharbison earned 500 total points
ID: 22689590
If you want to store all the session user names on your site, you should create a table for this and perform the insert query when the user logs in. You could keep track of the date and time when they logged in, so you know how often users come to your site, although maybe this is not your intention when asking this question.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question