Question about the URL string? Can a website be aware of what the user enters by hand in the URL string...
-
Question about domain names - any way to know where the user came from? I have multiple domains on a region/language basis. The website is located in a folder. Is there any way for it to know where the user came from? (without user interaction) Ex: www.qwerty.uk -> Default.aspx gets fired go to i do not know where www.qwerty.ti -> Default.aspx gets fired go to somewhere over the rainbow inside the same site Can the adress be passed to the website like a string or something or is it unaware of it? To sum it up: I have www.qwerty.com as the main site. There are two smaller sites www.qwerty.tk and www.qwerty.ti which people can access. I want my site to know where the user comes from. Did he type www.qwerty.tk and set the language to "this" or did he type www.qwerty.ti and set the language to that.
-
Question about domain names - any way to know where the user came from? I have multiple domains on a region/language basis. The website is located in a folder. Is there any way for it to know where the user came from? (without user interaction) Ex: www.qwerty.uk -> Default.aspx gets fired go to i do not know where www.qwerty.ti -> Default.aspx gets fired go to somewhere over the rainbow inside the same site Can the adress be passed to the website like a string or something or is it unaware of it? To sum it up: I have www.qwerty.com as the main site. There are two smaller sites www.qwerty.tk and www.qwerty.ti which people can access. I want my site to know where the user comes from. Did he type www.qwerty.tk and set the language to "this" or did he type www.qwerty.ti and set the language to that.
As far as my understanding You want the name of the page from last visited page/site ..? If it is in your domain i.e. if you can handle the code in both the sites You can make use of query string..! create a query string from lastVisited and set it..! Just pass the querystring last page visited value..! If this is not your answer looking for sorry..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
Question about domain names - any way to know where the user came from? I have multiple domains on a region/language basis. The website is located in a folder. Is there any way for it to know where the user came from? (without user interaction) Ex: www.qwerty.uk -> Default.aspx gets fired go to i do not know where www.qwerty.ti -> Default.aspx gets fired go to somewhere over the rainbow inside the same site Can the adress be passed to the website like a string or something or is it unaware of it? To sum it up: I have www.qwerty.com as the main site. There are two smaller sites www.qwerty.tk and www.qwerty.ti which people can access. I want my site to know where the user comes from. Did he type www.qwerty.tk and set the language to "this" or did he type www.qwerty.ti and set the language to that.
you can use the javascript document.referrer[^] but it can be turned off by the browser settings. If it isn't turned off, it gives you the last web site visited. [edit]Oops: spelled referrer incorrectly[/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones "Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"
-
Question about domain names - any way to know where the user came from? I have multiple domains on a region/language basis. The website is located in a folder. Is there any way for it to know where the user came from? (without user interaction) Ex: www.qwerty.uk -> Default.aspx gets fired go to i do not know where www.qwerty.ti -> Default.aspx gets fired go to somewhere over the rainbow inside the same site Can the adress be passed to the website like a string or something or is it unaware of it? To sum it up: I have www.qwerty.com as the main site. There are two smaller sites www.qwerty.tk and www.qwerty.ti which people can access. I want my site to know where the user comes from. Did he type www.qwerty.tk and set the language to "this" or did he type www.qwerty.ti and set the language to that.
It has to be done in asp.net code. Something like here http://www.west-wind.com/weblog/posts/132081.aspx[^] I need to create a method that returns just the www.website.com part of the url string.