Search results summary
API
$input apivar
Provides a means to get user input from URLs, GET, POST, and COOKIE variables and more.
input(string $type = '', string $key = '', string $sanitizer = null, $fallback = null) function
Access GET, POST or COOKIE input variables and more ($input API variable as a function)
inputCookie($key = '', $sanitizer = '') apivar.method
Access the $input->cookie() API variable as a function.
$session->hasCookie(bool $checkLogin = false) apivar.method
Are session cookie(s) present?
$session->hasLoginCookie() apivar.method
Is a session login cookie present?
$session->isValidSession(int $userID) apivar.method
Checks if the session is valid based on a challenge cookie and fingerprint
$input->cookie(string $key = '', $valid = null, $fallback = null) apivar.method
Retrieve a named COOKIE variable value or all COOKIE variables
inputCookie($key = '', $sanitizer = '') class.method
Access the $input->cookie() API variable as a function.
$http->setCookie(string $name, $value) class.method
Set cookie(s) for http GET/POST/etc. request (currently used by curl option only)
InputfieldRepeater::copyPasteCookieName() module.method
Get the copy/paste cookie name
Modules
MarkupCookieConsent can
Renders cookie consent information for EU-Cookie-Law
CookieManagementBanner Adrian Jones
Cookie management banner allows users to manage tracking cookies.
PrivacyWire Joshua
Module for Cookie management and async loading of (external) scripts / assets
NoCookieWithoutConsent cwsoft
Disables wire frontend cookies until user consent to use required cookies.
Blog
ProcessWire 3.0.141 core updates 6 years ago
This week’s dev branch version brings you improvements to ProcessWire’s $input->cookie API variable, adds a new hook, and now lets you modify system URLs and paths at runtime, along with a few examples to demonstrate just how useful this can be.
A look at the new Page Edit Restore module 2 years ago
The new Page Edit Restore module helps to prevent page edits in the admin from getting lost when the user’s session is lost. This post covers it in detail.
Two-factor authentication updates in ProcessWire 3.0.159 5 years ago
ProcessWire 3.0.159 brings some useful and time-saving upgrades to the core two-factor authentication system. Also summarizes core updates in 3.0.156, 3.0.157 and 3.0.158.
How to use multi-instance in PW 3.x 9 years ago
This week work continued on preparing 3.x (and 2.8.x) for release. One of the features of 3.x that we'd not yet covered in much detail was the multi-instance support. So the primary focus this week was in making sure we clarified and simplified some things in that respect. This post covers all the details. Plus we've got some $session updates you might find useful.
ProcessWire 3.0.148 new master 5 years ago
Today we have a new master version released, version 3.0.148! The last master version was 3.0.123, so there are 25 new versions worth of upgrades, fixes and optimizations in this new master version, relative to the previous. In this post we’ll take a closer look at what’s new, how to upgrade, and more.
ProcessWire 3.0.184 new master/main version 4 years ago
This week we have a new master/main version released after a full year in the making. As you might imagine, this new version has a ton of great new stuff and we’ll try to cover much of it here.
ProcessWire 3.0.40 core and more 8 years ago
New master and dev versions released, more coverage of what you can do with the new Functions API, plus a couple useful tips and tricks.
ProcessWire 3.0.125 core updates 6 years ago
ProcessWire 2.6.14 brings major enhancements to $sanitizer and $input API variables 10 years ago
PW's $sanitizer and $input are now a couple. Plus $sanitizer is rocking a bunch of new skills. This week also brings tweaks, fixes and new core and Pro module updates.
ProcessWire 3.0.41 and a look at API Explorer 8 years ago
Covers updates in our master version 3.0.41, plus a look at the new the API Explorer module.
ProcessWire 3.0.178 core updates 4 years ago
ProcessWire 3.0.178 focuses largely in adding pull requests (PRs), which are code contributions by ProcessWire users. We had quite a few great pull requests pending, and in total we have added 26 of them in 3.0.178.
ProcessWire 3.0.200 new master/main version 3 years ago
This new main/master version has more than 220 commits, resolves more than 80 issues, adds numerous new features, performance improvements and optimizations, and consumes HALF the disk space of our previous release. This post covers all the details.
Debugging tools built into ProcessWire 3 years ago
ProcessWire's core comes with a lot of helpful debugging tools and capabilities built-in. In this post we'll cover some of these useful tools and how to use them.
General
$input Docs
The $input variable is your connection to GET, POST and COOKIE variables, URL segments, page (pagination) numbers, and more.
ProcessWire Request Blocker Shop
Helps to prevent scanners and bots from consuming too much of the server’s resources by automatically blocking their IPs when specific patterns are detected.
$session Docs
This API variable provides access to read/write of session variables, login and logout of users, redirects, and more.
Forums