Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Use cookie and javascript to check the first visit of a URL

$
0
0

Hi,

I have redirected a page, say page1(.aspx page) to page2(.aspx page) using IIS Rewrite module. From page2, it is redirected to page3(.aspx page) using javascript in page2. Now the thing is that I need to check whether page1 is hit for the first time in a day. If page1 is hit for the first time in a day, then it should be redirected to page2 and then to page3. Otherwise, the redirection should happen like page1--> page3 directly. How can i do this using cookies and Javascript? Can anyone help me on this?

Thanks in advance!!!


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>