As I remember Cookie require 'HTTP' server. The answer is YES, To use cookie you will need an HTTP server.