lib/cookies.js
function(name) {
    var cookie = this.cookies[name]
    if (cookie && this.checkNotExpired(name)) {
      return this.cookies[name].value
    }
    return null
  }
function(name) {
    var cookie = this.cookies[name]
    if (cookie && this.checkNotExpired(name)) {
      return this.cookies[name].value
    }
    return null
  }
function ( name ) { var cookie = this . cookies [ name ] if ( cookie && this . checkNotExpired ( name ) ) { return this . cookies [ name ] . value } return null }
Obtains value of the cookie with specified name.
This call checks expiration dates and does not return expired cookies.
@param {String} name cookie name
@return {String} cookie value or null
Obtains value of the cookie with specified name . This call checks expiration dates and does not return expired cookies .