Issue 3489: set flash cookie in central location

Issue 3489: set flash cookie in central location

http://code.google.com/p/otwarchive/issues/detail?id=3489