public void setmessages()
        {
            shared.checkReturnMessages();
            ViewBag.message = "";
            ViewBag.isvalid = "";
            var messages = NewspaperSBTSession.tempdata;

            if (messages != null)
            {
                ViewBag.message = messages.Message;
                ViewBag.isvalid = messages.MessageStatus;
                NewspaperSBTSession.tempdata.Message       = "";
                NewspaperSBTSession.tempdata.MessageStatus = 0;
            }
        }