?
Solved

find a value in the session of all users

Posted on 2008-10-10
1
Medium Priority
?
201 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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 …
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 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