Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

setLock Function Index sessionDestroy

The sessionCheck function is used to "check" to see if a User is logged in.

It differs from the sessionVerify function in that sessionCheck will allow the script to continue execution if the $require argument is set to "no". This is used by Jamroom scripts that can be configured to allow anonymous session access (such as comments,guestbook, etc.).


    • return: Returns array of user information on success
    array sessionCheck ([string $require = 'no'])
    • string $require: Session Required yes/no
    You must be logged in to post a comment
    Solutions Products Support Community Company
    Social Media Platform
    Social Networking Software
    Musician Website Manager
    Community Builder
    Jamroom 5
    Jamroom 5 Modules
    Jamroom Marketplace
    Support Forum
    Support Center
    Contact Support
    Community Forum
    Member Sites
    About Us
    Contact Us
    Privacy Policy
    ©2003 - 2023 The Jamroom Network