Block Spiders From Counter
in the past days my site counter (ASP) shows me a suspecious count number, is there a way to block spiders & crwalers from my counter?
View Repliesin the past days my site counter (ASP) shows me a suspecious count number, is there a way to block spiders & crwalers from my counter?
View RepliesI need help in figuring out how you could edit a forced cookie so it will allow spiders access to your site. (no log-in needed)
We have a site that has an asp cookie that will redirect non-cookied users to the page that tells you how to accept cookies. The issue is spiders follow this redirect so they index the cookie page instead of the page it should.
I know I have seen posts where you can allow the spiders to pass through your cookie, but cannot seem to locate any right now. Please can someone help. This is costing us a lot of money in CPC that we should be getting natural traffic to (but can't because of the cookie issue). I know it something with user-agents, but that is about it.
NOTE: The cookie is written in ASP and controls other functions on the site as well, so we cannot change the cookie from its present format. I just need a workaround for the spiders that can be added to the cookie as it exists.
(and yes this is less than ideal, but we inherited it and do not have the bandwidth right now to completely rewrite it as it is locked into reporting functions)
Just figure out that by detecting the user's "user agent" and redirecting the unwanted to say, Yahoo or Google would take a load off my server, and keep spambots and unwanted bots off my site for good, and I would finally get more realistic stats.First off, there are no more e-mail addreses displayed on my site (or in the code), contact is done through a form.
Second, and that's where I'm curently at, is writting an ASP script that would only allow Mozilla browsers, GoogleBot, Yahoo's bot, MSN's Bot and Amazon's Bot. Anyway, I've already written a long and lenghty (using disallow) robots.txt file, and it didn't change things at all in the last 2 months.
I need to block a URL from printing at the bottom of the page from a
website. Is there any code that can do that? I know I can make it
into a PDF on the fly and that will elminate alot of hassle, but is
there any easier way?
I am tryong to iterate within a folder collection and am having problems getting to the next iteration when my if statement proves true:
For Each folder in foldercollection
if instr(lcase(folder.name),"_vti") = 0 then
next
else if instr(lcase(folder.name),"_vti") = -1 then
util.AddScopeToQuery Q, sPath & "/" & folder.name , "SHALLOW"
AddSubsToQuery Q, sPath & "/" & folder.name
end if
next
I get an error stating unexpedted next, but am not sure how to jump to the next item.
I have a block of ASP code (enclosed in <% .. %>).
How can I call that piece of code from another piece of similar code?
And can the code be in any order on the page for it to work?
i want to disable the keybord because i am making a quiz test engin. when the user
gets to the test page he will be only using the mouse and will not need the keyboard
at all.
i have a code copied from somewhere and it uses vb code. i need to know if its
possible to do that in asp using vbscript or javascript?
The first IF statement and redirect is what I need. It's the Else statement:
If Len(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) > 0 Then
If UCase(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) = UCase(Session("CAPTCHA")) Then
Response.Redirect("../Profile1.asp")
Else
Don't allow the form to upload to the db & m_sUserResult = "You typed " & Request.Form(NAME_OF_CAPTCHA_TEXTBOX) & " which was incorrect!"
End If
End If
I can not figure out how to block the MM_editAction (form upload) if the first "if" statement is false.
I want to block certain email addresses like,(See the MailTo Section, I don't want the Sandra email address), through my online forms. I've been receiving spam from people using the forms. My code below is ASP. The code basically sends the form data to 3 email addresses and send the visitor who filled out the form an HTML style email message as confirmation. I added an IF THEN statement (Look at the MAIL TO) for the unwanted email address thinking it would do the trick but it doesn't block or send the email to the unwanted email address. Here's the beginning of my code. Any help would be greatly appreciated. NOTE: I replaced the wanted email addresses with phony names because they are private.
<%
If request.form("Email")="" then
response.write "<p><br><center><font face='arial' size=3>"
response.write "<b>Please don't forget to enter your"
response.write " Email address!</b></font>"
response.write "<form>"
response.write "<input type=""button"" value=""Return to Form"""
response.write " onclick=history.go(-1)></form>"
Else ........
I am designing an app with multiple users. User 1 logs in and navigates to a Page 1 where a page template is modified. When modifications are over User 1 saves the page and logs out of the system.
I need to block access to every other user to Page 1 until User 1 "releases" the page.
At the moment I am using a field on my Access DB called locked that I set when any user enters Page 1, and upon saving locked field is cleared... Is there a more efficient way to do this?
Can I do this if I know the person's IP address?
View Replies View RelatedI have a asp page and keep submit to itself and I use a hidden field to
track the step. But I found in each step, sometime the block is being
executed twiece. How to debug this and fix?
if i run my project IE will open and output willl be shown. my need is u can able to see three butons(minimize,maximize,close) in yhe right corner of the IE window, me need is that should not be appear so only screen will be displayed.why i need this requirement is user cannot close teh window using any method, one method is this pressing this close button, i need to block this
my second need is if try to use alt+f4 to close the window i shouldn't close for ten minutes,after ten minutes he can use alt+ f4 to close so please give me coding for this also
third way is if he tries to use windows+d or windows+m or alt+tab it should not work,i need to block this way also
is there any way to block access website to particular country internet users.
View Replies View Relatedi am looking for to block INTERNET EXPLORER to doing its activity.how can i stop IE not to use back button OR like this way if someone want to go back from the certain page. can we show the any other IE generated messages.like page cannot be displayed etc
my basic requirement is not let the user to see his last page which he had submitted
can it be done?
i've developed a application in asp i want to restrict the user to login more than one at the same time i mean if user is already login then if he try to login on another window at the same time the message should b displayed u r already login.
View Replies View RelatedI use the windows 2003 server with IIS 6 and my web pages are created with ASP script.I am trying to block some web pages (not all) that is created only for internal users like an intraweb.To do this, how can i control it and how should i block to prevent access from external users.
View Replies View RelatedI searched an issue on the net and in our forum but could not find any solution. My question is :
How to skip some block of code while programming in asp page so that I get the necessary part of page only???
I use a free database-driven ASP guestbook. I want to add a IP address
blocking filter to it( just to block one particular guest). What is the
easiest way to do so?
I was wondering if anyone could shed some light on how to blacklist certain email addresses or domains form posting in my form. I have client side validation to ensure fields are entered correctly and contain the correct values.
I need to adapt my script (below) to block email from "@mail". I am getting losts of spam from this email address filling in my form. Code:
If I have a long text which I copied from a Word document and pasted it into
asp in order to output it into HTML, how do I detect new line in the text
and insert Line Feed Carriage Return?
I have a wizard that teaches kids how to write legislative bills. It is a series of 5 screens that forwards each page's entries to the next before proceeding to the next screen. All five screens worth of data are then inserted into the db on the final submit.
I am getting rare reports that on the submit of the final edit screen the entire data entry disappears. I have not been able to duplicate the problem here and it only has happened to 2 of 300 entries that I am aware of so far. Could this be a firewall issue or a browser settings issue of some sort?
I am looking to create a calendar. I am stuck on how duplicate records based in a date parameter. Example
A person is off between 12-01-04 to 12-09-04 . They submitted a form than contains the description. I want the record to duplicate 8 times because of the date paremeter.
I am trying to create an ASP page that processes a large block of text that is posted to the page. The data block is approximately 500K. The only was I can figure to get the posted text into a string is using BinaryToString. Is there another way to just get the body of text that is posted?
View Replies View RelatedI want to prevent people with yahoo, hotmail, gmail accounts from registering to my site. Here is where I do Email Insert Confirm. How do I block these email Address:
Code: .....
Is there any way to block the print, save and source functions on a image? I already used the anti-right click but people are still able to take the image because in the left hand corner of the pic the option menu pops up.
View Replies View RelatedI have a login page in ASP and I am trying to block a folder with pictures to make the unavailable to people who doesn't loged in to see them. How can I do to block this folder or put some kind script to allow only the pople who loged in to see them?
View Replies View RelatedI using ASP Windows 2003, i need in my web site, block files to download. if a user is logged, when download a file the direction of file save in URL, example:
http://mysite/files/test.xls
and any user get this file written this direction in URL, i like to block file or folder if the user is not logged.
The logging use session, and MySQL ...
I've been looking for a counting script to count the number of hits to my HTM and asp web pages on my company's internal website. So far, everything I've seen only works on asp pages. Where would I find some counter code to record hits on htm(l) as well as asp pages?
I'm using IIS 5.0.
I've got a little counter program written to log individual hits to a page
without counting the same person twice. The problem is, it's counting the
same people twice. Here's the logic:
1) Check the session to see if they've been counted.
2) If they have not been counted:
- save their referrer/IP info
- flag their session to say they're counted
- end
But it seems that some people are being counted for every page they go to
and some are not. I've included the code below just in case. Is this a
server issue, a browser issue, a cookies/no cookies issue, or something
else? Any help would be much appreciated. I want to have accurate counts and
information for where people are coming from with as little effort as
possible.
Is it possible to incorparate a Hit Counter to count the number of hits on a DIV instead of a page.
Below is the code of my DIV I would like to include the code for the counter inside this DIV. If at all possible??? Code:
I want to put the counter in index.html only...i dont want counter to keep on increasing EVERY TIME the same person views my website on same day. But the next day the counter will increase for the same person who views website the next day.
I only want the counter to increase for those who is first timer , not the SAME viewer who keeps on going back to the website over and over again on same day..
so how to do asp to achieve above? I have developed my website and include counter but d ont know how to go about including counter.
I not sure how to do a CGI hit counter where it automatically counts the times a web page is accessed?
View Replies View Related