search engine help

  • Thread starter Thread starter Paul M
  • Start date Start date
P

Paul M

I have given up on trying to send an email as well as adding to the
database . but I have come up with an idea for now. I will add the following
code to the confirmation page so it will send me an email when an entry has
been added to the database.
<%
Dim myCDONTSMail
Dim strFrom
Dim strTo
Dim strSubject
strFrom = "(e-mail address removed)"
strTo = "(e-mail address removed)"
strSubject = "New entry"
Set myCDONTSMail = CreateObject("CDONTS.NewMail")
myCDONTSMail.Send strFrom,strTo,strSubject
Set myCDONTSMail = Nothing
%>

So that people don't find the page from search engines how can I make it so
nothing will log this page ie search engines search bots etc
Thanks
Paul M
 
Hi
Also there a way to have the page refresh even though it is cached. if the
page has been cached the browser thinks it has all the files and the asp
code does not run.
Paul M
 
Paul
You can use the robots.txt file to tell the search engines
what they can and cannot index
You can also use meta tags to tell the browser not to cache
via pragma and robots
You can add a query string to the url of your asppage

And remember, asp code is not visible to the search engines,
so your email address is safe


: Hi
: Also there a way to have the page refresh even though it
is cached. if the
: page has been cached the browser thinks it has all the
files and the asp
: code does not run.
: Paul M
: : > I have given up on trying to send an email as well as
adding to the
: > database . but I have come up with an idea for now. I
will add the
: > following code to the confirmation page so it will send
me an email when
: > an entry has been added to the database.
: > <%
: > Dim myCDONTSMail
: > Dim strFrom
: > Dim strTo
: > Dim strSubject
: > strFrom = "(e-mail address removed)"
: > strTo = "(e-mail address removed)"
: > strSubject = "New entry"
: > Set myCDONTSMail = CreateObject("CDONTS.NewMail")
: > myCDONTSMail.Send strFrom,strTo,strSubject
: > Set myCDONTSMail = Nothing
: > %>
: >
: > So that people don't find the page from search engines
how can I make it
: > so nothing will log this page ie search engines search
bots etc
: > Thanks
: > Paul M
: >
:
:
 
Hi
Will this stop anything loging my page?
<meta name="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
 
*most* search engines will recognize this, and not log the page and will not
follow the links on tht page to log other pages.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
| Hi
| Will this stop anything loging my page?
| <meta name="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
|
| | > Paul
| > You can use the robots.txt file to tell the search engines
| > what they can and cannot index
| > You can also use meta tags to tell the browser not to cache
| > via pragma and robots
| > You can add a query string to the url of your asppage
| >
| > And remember, asp code is not visible to the search engines,
| > so your email address is safe
| >
| >
| > | > : Hi
| > : Also there a way to have the page refresh even though it
| > is cached. if the
| > : page has been cached the browser thinks it has all the
| > files and the asp
| > : code does not run.
| > : Paul M
| > : | > : > I have given up on trying to send an email as well as
| > adding to the
| > : > database . but I have come up with an idea for now. I
| > will add the
| > : > following code to the confirmation page so it will send
| > me an email when
| > : > an entry has been added to the database.
| > : > <%
| > : > Dim myCDONTSMail
| > : > Dim strFrom
| > : > Dim strTo
| > : > Dim strSubject
| > : > strFrom = "(e-mail address removed)"
| > : > strTo = "(e-mail address removed)"
| > : > strSubject = "New entry"
| > : > Set myCDONTSMail = CreateObject("CDONTS.NewMail")
| > : > myCDONTSMail.Send strFrom,strTo,strSubject
| > : > Set myCDONTSMail = Nothing
| > : > %>
| > : >
| > : > So that people don't find the page from search engines
| > how can I make it
| > : > so nothing will log this page ie search engines search
| > bots etc
| > : > Thanks
| > : > Paul M
| > : >
| > :
| > :
| >
| >
|
|
 
The best is a combination of all possibilities, that being
one of them. Different engines follow this way or that way,
if they obey at all.


: Hi
: Will this stop anything loging my page?
: <meta name="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
:
message
: : > Paul
: > You can use the robots.txt file to tell the search
engines
: > what they can and cannot index
: > You can also use meta tags to tell the browser not to
cache
: > via pragma and robots
: > You can add a query string to the url of your asppage
: >
: > And remember, asp code is not visible to the search
engines,
: > so your email address is safe
: >
: >
: > : > : Hi
: > : Also there a way to have the page refresh even though
it
: > is cached. if the
: > : page has been cached the browser thinks it has all the
: > files and the asp
: > : code does not run.
: > : Paul M
: > : : > : > I have given up on trying to send an email as well
as
: > adding to the
: > : > database . but I have come up with an idea for now.
I
: > will add the
: > : > following code to the confirmation page so it will
send
: > me an email when
: > : > an entry has been added to the database.
: > : > <%
: > : > Dim myCDONTSMail
: > : > Dim strFrom
: > : > Dim strTo
: > : > Dim strSubject
: > : > strFrom = "(e-mail address removed)"
: > : > strTo = "(e-mail address removed)"
: > : > strSubject = "New entry"
: > : > Set myCDONTSMail = CreateObject("CDONTS.NewMail")
: > : > myCDONTSMail.Send strFrom,strTo,strSubject
: > : > Set myCDONTSMail = Nothing
: > : > %>
: > : >
: > : > So that people don't find the page from search
engines
: > how can I make it
: > : > so nothing will log this page ie search engines
search
: > bots etc
: > : > Thanks
: > : > Paul M
: > : >
: > :
: > :
: >
: >
:
:
 
Not all webbots / spiders will respect the robots meta tags or the robots.txt file

Just use server side code to prevent the page from being processed by anything but the form

In your form add a hidden field as say:

<input type="hidden" name="Action" value="Process">

In your confirmation page at the top add a redirect if not from the form

IF Request.Form("Action") <> "Process" THEN
Response.Redirect "someotherpage.asp"
END IF

--




| Hi
| Will this stop anything loging my page?
| <meta name="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
|
| | > Paul
| > You can use the robots.txt file to tell the search engines
| > what they can and cannot index
| > You can also use meta tags to tell the browser not to cache
| > via pragma and robots
| > You can add a query string to the url of your asppage
| >
| > And remember, asp code is not visible to the search engines,
| > so your email address is safe
| >
| >
| > | > : Hi
| > : Also there a way to have the page refresh even though it
| > is cached. if the
| > : page has been cached the browser thinks it has all the
| > files and the asp
| > : code does not run.
| > : Paul M
| > : | > : > I have given up on trying to send an email as well as
| > adding to the
| > : > database . but I have come up with an idea for now. I
| > will add the
| > : > following code to the confirmation page so it will send
| > me an email when
| > : > an entry has been added to the database.
| > : > <%
| > : > Dim myCDONTSMail
| > : > Dim strFrom
| > : > Dim strTo
| > : > Dim strSubject
| > : > strFrom = "(e-mail address removed)"
| > : > strTo = "(e-mail address removed)"
| > : > strSubject = "New entry"
| > : > Set myCDONTSMail = CreateObject("CDONTS.NewMail")
| > : > myCDONTSMail.Send strFrom,strTo,strSubject
| > : > Set myCDONTSMail = Nothing
| > : > %>
| > : >
| > : > So that people don't find the page from search engines
| > how can I make it
| > : > so nothing will log this page ie search engines search
| > bots etc
| > : > Thanks
| > : > Paul M
| > : >
| > :
| > :
| >
| >
|
|
 
Back
Top