DNN-6070 Check to see if viewMobileCookie is null before trying a Set.