The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
This is kind of an odd situation that I'm having a little trouble with. I've got most of it licked but have one little step I can't get.
I have a site that I need to load different links based on the referrer. I've got that part down. I use a query string to load a different navigation menu to stay consistent through the session based on the initial external referrer.
This query string is &al=no. My problem is when someone bookmarks a page with this query string included. I need the query string to be stripped when the page loads from the bookmark. If I can figure out how to strip it when the referrer is blank I'd be in business.....
if (Request.ServerVariables("HTTP_REFERER") = "") then
I'm lost after that. Can this be done? Can someone help?
Thanks in advance.<
I have a site that I need to load different links based on the referrer. I've got that part down. I use a query string to load a different navigation menu to stay consistent through the session based on the initial external referrer.
This query string is &al=no. My problem is when someone bookmarks a page with this query string included. I need the query string to be stripped when the page loads from the bookmark. If I can figure out how to strip it when the referrer is blank I'd be in business.....
if (Request.ServerVariables("HTTP_REFERER") = "") then
I'm lost after that. Can this be done? Can someone help?
Thanks in advance.<