Cookie Usage on SSELN sites


Wordpress Website Cookie usage


         wp_set_auth_cookie( $user_id, $remember, $secure ) 

This function sets the cookie.


This function will delete the cookie from the client browser. This happens when the user clicks on the Logout link in the Administration interface.


This function also utilizes the cookies. Checks whether the cookie is present on the client browser. If it is not, the user is sent to the wp-login.php login screen. After logging in, the user is sent back to the page he or she attempted to access.


On login, wordpress uses the wordpress_[hash] cookie to store your authentication details. Its use is limited to the admin console area, /wp-admin/


After login, wordpress sets the wordpress_logged_in_[hash] cookie, which indicates when you're logged in, and who you are, for most interface use.


WordPress also sets a few wp-settings-{time}-[UID] cookies. The number on the end is your individual user ID from the users database table. This is used to customize your view of admin interface, and possibly also the main site interface.


The cookies length can be adjusted with the 'auth_cookie_expiration' hook (An example can be found at what's the easiest way to stop wp from ever logging me out).


Cookie Usage on Moodle sites


The CAVC Moodle uses two 1st Party cookies:


         MoodleSession:  This cookie must be allowed for Moodle to work.  It is only used when you are logged in to Moodle or your browser is open.  It remembers your username between pages and provides a bit of consistency.  As soon as you log out or close your browser, the MoodleSession cookie will be removed.

         MOODLEID:  This just remembers your username.  You will have been asked if you want Moodle to remember our username the first time you logged in.  You can delete this cookie without affecting performance - you'll just have to retype your username every time you log in. 


If you want to delete or disable cookies, please follow the instructions below based on your browser. Remember, if you disable cookies completely, Moodle won't work properly.



For more information on Cookies click here to visit the ICO website