 			# App configuration
 			app.use morgan('dev') if process.env.npm_package_config_debug is 'true'
 			app.use compress()
-			app.use cookieParser(cookieToken)
-			app.use session()
+			app.use cookieParser(crypto.randomBytes(20).toString('hex'))
+			app.use session({secret: crypto.randomBytes(20).toString('hex'), saveUninitialized: true, resave: true})
 			app.use middleware.security
 			app.use express.static(__dirname + '/..')
 

				return callback() if not error?

				# Show error
				log.status 'init', 'Loading SSL, database or generating cookieToken failed', error
				return false

		(callback) ->

middleware	= require './middleware'

# Variables
ssl = {}

# Init
init = ->
