diff options
Diffstat (limited to 'includes/session.inc')
-rw-r--r-- | includes/session.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/session.inc b/includes/session.inc index 0d387a146..5295173e5 100644 --- a/includes/session.inc +++ b/includes/session.inc @@ -85,7 +85,7 @@ function _drupal_session_read($sid) { // Otherwise, if the session is still active, we have a record of the // client's session in the database. If it's HTTPS then we are either have // a HTTPS session or we are about to log in so we check the sessions table - // for an anonymous session wth the non-HTTPS-only cookie. + // for an anonymous session with the non-HTTPS-only cookie. if ($is_https) { $user = db_query("SELECT u.*, s.* FROM {users} u INNER JOIN {sessions} s ON u.uid = s.uid WHERE s.ssid = :ssid", array(':ssid' => $sid))->fetchObject(); if (!$user) { @@ -201,7 +201,7 @@ function drupal_session_initialize() { } else { // Set a session identifier for this request. This is necessary because - // we lazyly start sessions at the end of this request, and some + // we lazily start sessions at the end of this request, and some // processes (like drupal_get_token()) needs to know the future // session ID in advance. $user = drupal_anonymous_user(); @@ -344,7 +344,7 @@ function _drupal_session_destroy($sid) { * @param $name * Name of session cookie to delete. * @param $force_insecure - * Fornce cookie to be insecure. + * Force cookie to be insecure. */ function _drupal_session_delete_cookie($name, $force_insecure = FALSE) { if (isset($_COOKIE[$name])) { |