Http Referer
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!!
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!!
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?
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)..
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.
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 RelatedI 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?
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?
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?
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).
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?
i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000.
When I open New Project - Visual C# Projects - ASP .NET Web Service -
Location : http://localhost/WebService1
After that i click OK, then it returns error
"The web server reported the following error when
attempting to create or open the web project
located at the following
URL:'http://localhost/WebService1. HTTP/1.1 302 Found"
After that i try this : Code:
is there a possibility that i can use this statement
referer = Request.ServerVariables("HTTP_REFERER") in a .html page??
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?
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 RelatedI 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:
in ie 5 i m writing this below statement
http://localhost/Mail/email.html
email.html page contains 3 field box username , password and name .it calls the form2email.asp page
the code is that
<FORM name="mailform" METHOD=POST ACTION="form2email.asp">
but when it calls that page ie5 shows error
HTTP 405 - Resource not allowed
Internet Explorer
what is the problem
I'm using XML HTTP in an ASP to import HTML content for clients from
their existing web pages. But for some reason, the tabs are now ?'s
What can I do to handle this?
If someone puts a link into my form and I display it it will show:
http://http://www.abc.com as I put an additional http:// in front. So what I want is to detect is user has typed in http://, replace this and then input into DB or display.
I can use the replace function, but how would I check if first 7 characters are http:/
I uninstall IIS and install it back again, will it solve the "HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services" problem? I am running on Windows XP and using IIS 5.1 . I got this problem when I created a search page in Frontpage but I have deleted it when I found out I have this problem. I have disable HTTP Keep Alives in the IIS properties but I still cant resolve the problem.
View Replies View RelatedWhen i try to post message or try to open a new account server gives this error :
How can solve this problem
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/Start/Forum/register_new_user.asp, line 193
I am getting the following error when trying to run an SQL insert in my ASP page and I cannot find anything in TechNet that references this error.
Below are IIS messages:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Issue selected is no longer valid. Please select another issue.
/ActivityTrak/maintain/activityedit.asp, line 542
It seems to me that if I can have a regular .asp page that contains multiple <input type='file'> elements, and a user could browse to individual files and fill up all the elements on the page, that there should be a way to replicate the HTTP post data. Can
I somehow make my client-side activeX component post the same type of data?
I tried using MS Stress Tool to view the post data being sent from a regular.asp page that contained several <input type='file'> elements.I saw that there was a structure to it. The structure contained the binary data of the files I had selected for upload. But, I have not been able to figure out how I would replicate this structure in my
client-side activeX component
I cannot open any asp pages on my server. I get a http:500 internal server error. Html pages open fine, but any asp pages produce this error.
View Replies View Relatedin ie 5 i m writing this below statement http://localhost/Mail/email.html
email.html page contains 3 field box username , password and name .it calls the form2email.asp page the code is that
<FORM name="mailform" METHOD=POST ACTION="form2email.asp">
but when it calls that page ie5 shows error
HTTP 405 - Resource not allowed
Internet Explorer
what is the problem.
I have certain ASP pages that are wel tested and working in many places. But there is one server (window 2000) on which some of the asp pages do not work. I get a HTTP 404 fil not found error. I checked more than a few times and made sure the file are there on the server where the IIS application is looking at.
some of the ASP pages are working fine. Only those ASP pages whose name starting with 'ETC' is not working. If I chang the name of the same ASP to some thing other than "ETC" it works fine. Do you think there is some software on the sever that tells IIS t block requests coming from any ASP pages starting with the name 'ETC'. what is going on?
We have written a small asp page to accept an HTTP request, pass the request onto an Oracle database for processing and then return the results.
This works find when we call it using HTTP/1.0 but if we use HTTP/1.1 or above it doesn't work. Here's the code:
I'm having problems with timeouts on HTTP uploads. I set the session timeout property to zero, but it still didn't work. Is there a way to set the timeout to never expire?
View Replies View RelatedWindow XP PRO, Access 2000, FR2002, FP2002 ext.
I have 3 webs with database, two work fine, the other
gives this error.
Microsoft OLE DB Provider for ODBC Drivers
error '80004005'
Microsoft][ODBC Microsoft Access Driver] The Microsoft
Jet database engine cannot open the file '(unknown)'. It
is already opened exclusively by another user, or you
need permission to view its data.
I had to reinstall Window and published all the web site
from ISP were they work fine. They worked fine before the
crash.
I have a form that a user submits their clan's website, and roster page.
What I want to do, is check to see if the field submitted contained
"http://" and if not, add it to the field submission.
I know i can make this easier, and put the http:// in the field as a default
value, but i want to know how to do this with a bit of form validation or
something.
I have free web-based email.Is there any way I can create an http server? For example, like hotmail does for outlook express? If so, how? Hotmails HTTP server is at http://services.msn.com/svcs/hotmail/httpmail.asp.
View Replies View RelatedI am having a problem re-configuring the intranet server to connect ASP page with Oracle Database. I have a system DSN created with oracle. I am using the Microsoft ODBC for Oracle driver.
However, I am still getting the error below:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft VBScript runtime (0x800A01C2)
Wrong number of arguments or invalid property assignment: 'OOS.GETINFO'
/otis/common/memolist.inc, line 63
The file coding is: Code:
If I want to have a username/password dialog in my page, how can I add
http header in ASP for username/password dialog? I want to hardcode
the username/password in my page and check the authentication.
I get a http 500 error on all asp pages. When turning off
the friendly message box, the message is "Class does not
exist". What is the fix for that? This affect all asp
pages incling the default asp pages in the default
directory.