diff --git a/src/Illuminate/Session/SessionServiceProvider.php b/src/Illuminate/Session/SessionServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Session/SessionServiceProvider.php
+++ b/src/Illuminate/Session/SessionServiceProvider.php
@@ -116,6 +116,11 @@ class SessionServiceProvider extends ServiceProvider {
 	 */

 	protected function registerCloseEvent()

 	{

+		if ($this->getDriver() == 'array') return;

+

+		// The cookie toucher is responsbile for updating the expire time on the cookie

+		// so that it is refreshed for each page load. Otherwise it is only set here

+		// once by PHP and never updated on each subsequent page load of the apps.

 		$this->registerCookieToucher();

 

 		$app = $this->app;

@@ -166,4 +171,14 @@ class SessionServiceProvider extends ServiceProvider {
 		return $config['lifetime'] == 0 ? 0 : time() + ($config['lifetime'] * 60);

 	}

 

+	/**

+	 * Get the session driver name.

+	 *

+	 * @return string

+	 */

+	protected function getDriver()

+	{

+		return $this->app['config']['session.driver'];

+	}

+

 }
\ No newline at end of file
Do not set cookie when using array driver.