Secure variable for logged in members

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaeldebruin
    New Member
    • Feb 2011
    • 134

    Secure variable for logged in members

    Hello,

    I have a website at the moment, but I want to improve the security a bit. One of the things I want to add to it is a special variable which is created when you open the website and which is used on every webpage. The variable is for my login system. So if someone opens my webpage the variable will be created and it can only be changed if he or she is logging in. And ofcourse if it is changed, it has to change on every webpage.
    I think that what I want is called a static variable but I am not sure. So if anyone can explain me a little bit how to create and use it, thanks a lot.

    Thanks in advance
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Take a look into sessions.

    Comment

    Working...