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 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?
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)
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 have added a http header on a virtual directory. (Content-Type text/html; Charset=utf-8). Is there any way of clearing this or override this in one asp page? In this page I will download a tab separated text file.
I don't want to show this in the browser. I try to set this content type from my COM+ component which is invoked by this asp page. Response.clear will not clear header information (and I guess the added http header is added just before the result is sent to the browser).
If IsNN6 Then GetObjectContext("Response").contentType = "application/octet-stream" Else GetObjectContext("Response").contentType = "application/save" End If
I'm writing an application to authenticate a user using a challenge response mechanism. The client and server components of the application talk over HTTP.
I would like to use an ASP session object to hold a random number on the server. The code to store the number is written as part of a VB web class.
When I read the http header returned from my server, I can't see the session cookie. Why is this? If I create a normal cookie as part of my web class, it is returned correctly within the header.
I am using HttpQueryInfo the read the header as follows:
If I display the header information from site 2, it display PATH_TRANSLATED as below.
D:kbapplicationprogramuihttpCustomerPortaldi splay2search.asp, except the here is W with a line going across it. For some reason, when I paste it here, it changes to , but in IE, it's W with a horizontal line.
After rebuilding our web server from NT 4.0 IIS 4.0 to Windows 2000 IIS 5.0, I'm constantly getting HTTP Headers posted to the top of the HTML source (generated from ASP pages of course). This only seems to happen upon hitting the browser's (IE 6.0) "back" button and not even 100% of the time when hitting the back button. Here's an example of the source that is generated: Code:
am using pws on win 98 and when i try to excute any asp page i got the following error
Response object error 'ASP 0156 : 80004005' The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
A client wants a splash page with the option of going to his website with the flash header or the one with the .JPG header.
Now it's only the header that will be different and all the content will be the same. I don't want to make two seperate websites, because I'll have to update it twice then. Is there a way to just have the header change, without using frames. Maybe SSI,
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.
I have span and Textarea fields. How can I disable and gray out those dynamically using DHTML. when I called disabled = true it makes it readonly and does not gry out.
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?
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 have a login form. when user logs in, user is transferring randomly an Exam page. these pages're(ExamA.asp and ExamB.asp)
Question is : if user transferred to ExamA.asp how can i disable to enter ExamB.asp ? (there is no link in ExamA.asp to ExamB.asp. only changing url in the address bar.)
here is my login from code :
strSQL="Select Exam from Exam" set Exam=conn.execute(strSQL) Stat=cint(Exam("Exam"))
if Stat=1 then
sqlUp="update Exam set Exam=2" conn.execute(sqlUp) response.redirect ("ExamB.asp")
elseif Stat=2 then
sqlUp1="update Exam set Exam=1" conn.execute(sqlUp1) response.redirect ("ExamA.asp") end if
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.
I have pulled some date from a table in access and displayed it on a form in a table. If there was no data in the Table, Hence the Html table displaying it was empty is there a way of disabling the submit button that submits that data to avoid a conflict?
I was thinking about disabling session state on some of my pages by doing this: <% @ EnableSessionState = False %>
My question is if I disable the session state will the page still reset the session timeout (eg. back to 20min. default) when that page is loaded? I need it to reset the session timeout.
I have creating a simple ASP guestbook using an Access Database, is there any of disabling HTML code so that visitors cant post HTML in the guestbook entries?
i have a form that has a multiple fields,when a user chooses an option from option seleect then it should disable some part of the form and i have no idea how to do that.
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:
I have a website that (like many) allows users to download large files. Some are up to several hundred MB in size. The problem is that since switching to IIS 6.0, the size of the file is limited by the ASPBufferingLimit, and it's size seems to be limited to only 4294967295 bytes.
That's pretty big but it's not quite big enough and I need to disable it. Some people have recommended setting it to -1 via:
c: cd C:inetpubadminscripts cscript adsutil.vbs set /w3svc/1/aspbufferinglimit -1
but the -1 doesn't really "take"...IIS keeps it at 4294967295.
Setting it to 0 does "take", but then IIS returns nothing (0 bytes).
How do I disable or workaround this security feature in IIS which is not allowing people to download large files?
I am using text fields to display data from a table in access in an ASP file, i am using text fields because if i used anything else, like labels the info was not updated to the table correctly.
Does anyone know how to input of edits to a text field so that the user can view the data in it but cannot remove or change it?