Peeking at Session Info

Posted on 2008-11-18
Last Modified: 2013-12-17
I am attempting to create a sort of master super user for my web application. One of the features of this super user is that he/she should be able to look at and edit other active users' session information. I already have the application set up so it stores every SessionID in an application-level variable so I can see all active session identifiers. Can I use this information to actually look inside and/or edit the session information for another user? If not, is there another method I can use to do this?
Question by:Russ Suter
    LVL 3

    Accepted Solution

    The easiest solution is to create your own session handler, that stores the session in the database. You then can easily access the data.

    You can also use session_id() to change your current session id to an editors session id, but that's a bit tricky..
    LVL 3

    Expert Comment

    Then i read you're using .NET, disregard the part about session_id().

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now