Solved

find a value in the session of all users

Posted on 2008-10-10
1
193 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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 …

777 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