Hy mates .... I found yesterday this ad script, very nice, http://dynamicdrive.com/dynamicindex17/stickynote.htm But there ads appear after any refresh ... I want, if i see the ad one time, next time when appear, after 24 hours ... I think is possible whit cookies, but i don`t know how Anyone can help me please ? Thank you guys! laffin
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then If Request.Cookies("Visited").HasKeys Then AdRotator1.Visible = False Else AdRotator1.Visible = True Response.Cookies("Visited")("HasVisited") = True Response.Cookies("Visited").Expires = Now.AddHours(24) End If End If End Sub Code (.Net): The above is a .Net script to do what you want assuming the advertisement is in a control called adrotator1