Using c#, I m looking to personalise a page if its the first page the user has come across.
I'm not concerned whether the solution is bulletproof because the feature is purely asthetical and can degrade.
It must use be an ASP.NET method, not JavaScript.
with
Request.UrlReferrer.Host
you can get the URL of the client's previous request. But this won't work with https from external pages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With