Find Referer
I want to know how to find out who is sending visitors to my site. So i obviusly need to find out who a visitors referer is.
I took a guess and thought that this is what I should use:
request.ServerVariables("HTTP_REFERER")
But that does not return anything. Any ideas guys?
View Replies
ADVERTISEMENT
if it's possible to catch the url that the user is visiting after leaving our site. I mean, I use HTTP_REFERER to see from which url the visits are coming from, I want to know if there is some way to catch which url they visit after leaving our site.
View Replies
View Related
I am making a small ASP script to track users from an email marketing campaign. Basically the email is sent to subscribers, then when they click on an offer they are sent to a third party provider. Right now we can track how many users open the email, and how many visit the site, but we would like to track conversions.
The third party will only provide stats via referer. Is there an easy way in ASP to set a referer to a custom url during the redirection?
View Replies
View Related
i am using the http referer and i get null value from some computers
and the correct value from other computers,
all the computers are using the same code!!
View Replies
View Related
I built a site half a year ago with form that submits to page that processes the info and then returns the user back to the page they came from using HTTP_REFERER.
There's one guy -- using an identical set-up to our main testing platform -- who kept getting the "URL required" error when doing this. For some reason, on his system alone, HTTP_REFERER was not collecting any referring URL. Is it common for HTTP_REFERER to wuss out like this? What causes it?
View Replies
View Related
I have a question about the Max Referer length. By default this is 256. I am not fully sure I understand this property. It this a header that is sent back to the Server by a client and is it part of the URL.
While testing our Secure IIS I ahd the error come up I increased the value to 1080 and the error did not repeat!. But through my search the Max Referer lenght is always 256. SO I am trying to get feel for what the Referer really is, is it part of the HTTP 1.1 protocol?
View Replies
View Related
I have a CMS with access restriction to every page (the user must log on first). If a user tries to access a page while not logged on then they are redirected to the log on page.
In this case I want the log on page to send the user to the page they were trying to access, after they log back on.
Because the page restriction is the first bit of vbscript on every page, non-logged on users are redirected before the rest of the page loads, so using Request.Servervariables("HTTP_REFERER") does not work (I think this is the problem).
View Replies
View Related
I'm trying to use <% rReferer =REQUEST.SERVERVARIABLES("HTTP_REFERER")%>
and capture the referer URL in the variable 'rReferer'.
All I get is the URL of the very page I'm inserting this code into, that is, it refers itself. "sigh"! Yes, I'm clicking from another web page to test it. Am I coding this properly?
View Replies
View Related
is there a possibility that i can use this statement
referer = Request.ServerVariables("HTTP_REFERER") in a .html page??
View Replies
View Related
I've got a lot of referer variables in my dbase and I'd like to have a query that groups them just by the domain. Everything up to the 3rd "/" should do it. So far, I'm using:
SELECT COUNT(id) AS clicktotal, ref
FROM clicklogs
GROUP BY ref
This only lists everything by the actual referring url. Is there a way to only have it group by the domain within the referring url?
View Replies
View Related
I need to redirect after processing to the previous script (referer). However I dont wish to redirect including the querystring. Just the referer's script name.
View Replies
View Related
Is there any way to prevent an IE 6 browser from sending up the REFERER HTTP header? (Either as an IIS Server setting, change to asp files, or even a setting in the IE browser).
This is wasting WAN bandwidth in our Intranet application - we have fairly low network bandwidth. The referer is inevitably somewhere else in our own ASP application, and is usually has a really nasty long QString attached ... (and no, really dont want to run stats about how users navigate our app)..
View Replies
View Related
I have been trying like mad to get this script and this form to work. i'm at the point where the error message i get upon hitting the "SUBMIT" button is simply Form could not be processed due to the following errors:
No referer. Code:
View Replies
View Related
I am able to get the value for "request.ServerVariables("http_referer")". However, I try to use this value in a "response.redirect" and the value disappears. Why is this happening. Example:
-------------------------------------------------------------------------
If Not Session("whatEver") = True Then
Dim httpVar, EncodeHttpVar
httpVar = Request.ServerVariables("HTTP_REFERER")
EncodeHttpVar = Server.URLEncode(httpVar)
Response.Redirect "https://www.blah-blah/extranet/index.html?referer=" & EncodeHttpVar
End If
-------------------------------------------------------------------------
What am I doing wrong.
View Replies
View Related
However, when i opened a page on my pc the database string was:
DBFolder = path & "..mysqldataformuladata
I cant find the folder in question. Even when ftping.
Any ideas where is could be lurking?
View Replies
View Related
I am trying to locate a file using the following code
Set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
strURL = "http://server/ApprovedAutoCAD/140-00007-01.dwg"
objXMLHTTP.Open "GET", strURL, False, "login", "password"
objXMLHTTP.Send
strReturn = objXMLHTTP.status
I get a 404 status back indicating that the file is not found, which is incorrect. I am able to locate XLS and DOC files on the same directory. Any ideas why I cannot find a DWG (Drawing) file?
View Replies
View Related
I am not sure if this is a question for this forum or the IIS forum but here goes. I have a dedicated server on which I am hosting about 80 websites at the moment, all of which have been created by copying a template site. All of these sites have an identical structure and are located in the same directory on the server, C:Inetpubvhosts. Several times when I have needed to make an adjustment to the sites I have to go into the remote desktop connection to the server and go site by site, copying and pasting files. For example, as each site has the same pages, ie., map.asp, sometimes I make a change to that page and have to copy it to every site. Could I write some sort of script using the FSO and execute it from one site and have it loop through each site on the server making the neccessary change(s)?
View Replies
View Related
if i use the physical path where the database is located then my code works fine
such as ("e:folderabc.mdb")
but when i use the server.mappath("abc.mdb") , i get error
View Replies
View Related
The dreaded missing end statement
I need another set of eyes mine are about to cross.
My Error
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
calendar.asp, line 289
My code:
View Replies
View Related
We have several pages that are running very slow, is there any way to
identify which pages are taking the longest to process?
View Replies
View Related
At first glance, the question in the subject line seems way too easy. But I
am finding some situations in my app where the value in a variable is some
sort of blank-like value, such as Null or " " or "", but I cannot tell
which.
Of course, in order to find out the value, I did a response.write, and added
a nonsense word afterward, to help make sure it is writing it out for me.
First, I tried to check for null: Code:
View Replies
View Related
How do I go about testing to see if a value is not equal to NULL? isNULL provides the opposite functionality, but all my attempts at the former return a FALSE value.
View Replies
View Related
Based on what the user selects in a combo box I need to find the value from another column in the same record. This is what I am using:
rsPrice.movefirst
rsPrice.Find "Component='Desktop'"
If (rstPrice.BOF = True) or (rstPrice.EOF = True) Then
response.write("The Price for the Component Not Found")
else
curPrice =rsPrice("Score")
End If
I keep getting an error messages:
Microsoft OLE DB Provider for SQL Server (0x80040E29) Rowset does not support scrolling backward.
View Replies
View Related
can u tell me how to find the quoteint in asp
for e.g
290 / 100 = 2
I want result 2 but it gives 2.9
View Replies
View Related
where i can get very professional and sophisticated images for my web sites ( even if i have to pay for them )
View Replies
View Related
I'm coding in classic asp and can't figure how to get IE6 to display some kind of descriptive message about code errors? I have the correct settings under ADVANCED in IE's options selected.
What bugs me is sometimes IE will report the line number and a message, and then other times it's the standard "The page can't be displayed." When you have hundreds of lines of code, how can you fight this?
View Replies
View Related
How can i count the number of times a string appears within another string.
View Replies
View Related
i have 2 columns. called wintersubjects,summersubjects . the data in the columns will be 4 subjects.
maths
science
arts
social science
i want to find out the count for all of them.
View Replies
View Related
I am attempting the following for a real estate website. I want to list the agents for the office all of whom have a unique identifier with an Auto Number type. As I loop through the recordset, I also want to open another table called listings. This table has a field called agent whose value is a number and corresponds to an agent in the agent table.
If there is a listing in the listing table, I want to insert a link to "View Listings", if not, no link. I am having a hard time doing this and if someone could point me in the right direction I'd appreciate it. I tried the Find method but to no success.
View Replies
View Related
I want to find numbers in one comma seperated string which are not in another one. For instance if I have two strings "strString1" and "strString2 how can I find numbers in "strString1" which are not in "strString2" Example:
strString1 = "1,3,6,12"
strString2 = "1,6"
In this case the numbers I want to end up with are 3 and 12.
View Replies
View Related
I am working on a survey and I have gotten the pages done to collect the data but now I am having trouble finding the correct syntax for displaying some of the data back to the user. I basicly need one to do this
Text on site <field1*field2*1.5> More Text on site.
and a seperate one to do this:
if field1=a then write "message one"
if field2=b then write "message two"
View Replies
View Related
I'm working on something at the moment which pulls through a url to another page if it exists. I've got that bit working.
The bit I don't know how to do (real asp beginner here) is to check if the url has http:// in it, and if it has, remove it.
View Replies
View Related
I have one doubt in my asp code (or) in HTML.
How to find coordinates on the image for display the text on that image....
View Replies
View Related