WordPress.org

Support

Support » Plugins and Hacks » Creating cookies on login

Creating cookies on login

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anyone know about how WordPress creates these cookies?

    Not a clue, but I am trying to figure out how to make my users’ sessions expire, so they will have to login again periodically. (Login Logger plugin)

    Okay, well, I think I figured out why your cookie generation is not working. I’m using the latest version of WordPress (2.2.2). Assuming ‘pluggable.php’ in 2.2.2 is the same as ‘pluggable-functions.php’ there is a comment at the top of the file that reads:

    /* These functions can be replaced via plugins.  They are loaded after
    	 plugins are loaded. */

    You may have a plugin installed thats overriding the function that you’re trying to edit. It’d probably be simpler to make a plugin or alter the function of the plugin that’s overriding the default function. Just to check, try dissabling all your pluggins. If I’m correct, you should then see the expected cookie to appear.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating cookies on login’ is closed to new replies.
Skip to toolbar