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


setLock Function Index sessionDestroy
sessionCheck

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.).

EXAMPLE:

    • return: Returns array of user information on success
    array sessionCheck ([string $require = 'no'])
    • string $require: Session Required yes/no
     Comments
    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
    Documentation
    Support Center
    Contact Support
    Community Forum
    Member Sites
    Developers
    About Us
    Contact Us
    Privacy Policy
    ©2003 - 2024 The Jamroom Network