set cookie lifetime to keep it in IOS full screen