I would guess the best solution then is to not specify the path. Let the browser keep track of it... The request.cookies does not allow you to specify a path, so maybe it does keep an eye on it somewhere.
If you don't specify a date for the cookie to expire, then it becomes a sessionless cookie and dies with the web browser... hence, no file is actually written to your hard drive. To see it there, just specify an expiration date.