Use the root path when creating the cookie.
Fixed up the StoredObject creation by using a cookie to store the intermediary filename and use that to populate our database.