You are here

constant WEBFORM_PROTECTED_DOWNLOADS_DEFAULT_EXPIRATION_SESSION in Webform Protected Downloads 6

Same name and namespace in other branches
  1. 7 webform_protected_downloads.module \WEBFORM_PROTECTED_DOWNLOADS_DEFAULT_EXPIRATION_SESSION

The default expiration interval for the file access that is managed by the session information itself in seconds.

2 uses of WEBFORM_PROTECTED_DOWNLOADS_DEFAULT_EXPIRATION_SESSION
webform_protected_downloads_configuration_form in ./webform_protected_downloads.form.inc
Form callback for the webform configuration subpage
webform_protected_downloads_session_update in ./webform_protected_downloads.page.inc
Create or update the session info used to grant access and keep track of access expiration

File

./webform_protected_downloads.module, line 40
This file contains hook declarations and functions for the Webform Protected Downloads module.

Code

define('WEBFORM_PROTECTED_DOWNLOADS_DEFAULT_EXPIRATION_SESSION', 60 * 60 * 24);