How can we create a banner which should see only one time when the user opens the web page at the very first time. After that it should be hidden. I am sorry, i don't know the exact name of this feature. It would be very grateful if somebody provides some new links for implementing this feature. I have appended the sample image with this post and you can see the specified portion in top of the image (Red Box).
Thanks in advance
There is no such feature in .net. You have to create your own implementation. the logic steps, from my point of view, the logic steps would be:
To create cookies
HttpCookie myCookie = new HttpCookie("UserSettings");
myCookie["Session"] = Session.SessionID;
myCookie.Expires = DateTime.Now.AddDays(1d);
Response.Cookies.Add(myCookie)
To read cookies
if (Request.Cookies["UserSettings"] != null)
{
string userSettings;
if (Request.Cookies["UserSettings"]["Session"] != null)
{
userSettings = Request.Cookies["UserSettings"]["Session"];
}
}