IP Address Detection
For whatever reason, I want to get an email when my friends STATIC IP
ADDRESS clocks a visit on my site.
Will this work?: (Pretend his IP address is 80.112.144.244)
<%Session("IP")=Request.Servervariables("REMOTE_HOST")%>
<% if Session("IP")="80.112.144.244" then "Sendmail" else "Do nothing" end
if%>
Or
<% if Request.Servervariables("REMOTE_HOST")="80.112.144.244" then
"Sendmail" else "Do nothing" end if%>
View Replies
ADVERTISEMENT
I'm going to go down this route of Cookie detection
<%
If Request.Querystring("Check") = "" Then
Session("cookietest") = "True"
Response.Redirect("cookietest.asp?Check=True")
Else
If Session("cookietest") Then
<!-- Execute code if enabled -->
Else
<!-- Execute code if disabled -->
End If
End If
%>
I’m a little worried, do you know how spiders work with regards to this sort of thing? My site gets some traffic due to it being spidered by the likes of google and I don’t want to loose that flow.
If I use this at the entry point of my site to redirect browsers with cookies turned off to a page telling them to turn them on will that stop the spiders?
View Replies
View Related
I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?
View Replies
View Related
Is it possible to detect browser/system language with:
Server.CreateObject("MSWC.BrowserType") ?
~
View Replies
View Related
I have a piece of ASP code that I want to run differently if it is on my
development server.Basically, if it's on my server I just want it to do a few response.writes... If it's on another server I want it to send an email.Right now I have code to do both, but it's a pain to flip flop between them.
Is there a simple way to accomplish this?
View Replies
View Related
I am running an asp script (form submitting to database). After the db entry I want to re-direct the users to one of 3 pages depending on which browser they are running ..
Internet Explorer, Netscape 4.7 or Netscape 6 or higher (since I am using embedded video feedback with CSS and dhtml....and all these brpwser handle things differently (ie. Netscape 6+ does not understand the <embed> tag or at least won't let me manipulate the video.) I can do it in javascript but how does one go about this in an asp script?
View Replies
View Related
Is there a way to detect that my ASP is going to display in a frame? Everything I've found tells me how to test if the browswer is frame capable. I know HTTP_REFERER is a big hint but it isn't very authorative. I can do this easily in javascript but that is of little help while I'm still running on the server.
What I want to do is check to see if I am executing in my frame. If not then load the frame then execute. Everything I can think of to do is either too late or unreliable.
View Replies
View Related
Does anyone have a good and simple Low/High bandwidth detection script that either redirects the user to a page based on their bandwidth or which sets a variable that can be used to turn on/off media and content?
View Replies
View Related
How can I detect what browser type my users are using, currently with my asp
server variables I only detect Netscape and Mozilla as U, how can I get
specific information without having to use software that you must pay for?
View Replies
View Related
I have an photo gallery, I want to create a button that opens a new window fixing the full size image snugley in it, which is easy.
But I want to get a script which detects the image size so i can use the variables to open the window.
What i want to not do is have to more options in the database with height and width in, and have to call them, although i'll do that if i have to, but i thought i would try something new.
View Replies
View Related
Permission denied. Address 'zzz.zzz.z.zzz' is not an allowable remote socket address.
What is the significance of this error, and what should be looked into to fix the problem?
(if this is of relevance: My sandbox is localhost.. so zzz.zzz.z.zzz is internal ip)
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I
get the HDD ID/Serial Number also using asp?
View Replies
View Related
i want to get the ipaddress,and the country name of a webpage
visitor,using asp.Net(C#).if anyone knows about it
View Replies
View Related
Is it possible to ban an IP address from global.asa, or by another method?
On a shared server, I'm seeing someone from China that appears to be trying to access my
site illegally (trying to access server root via cgi-bin).
Can I test for the user from global.asa and then execute a Response.End? Or is there
another way?
View Replies
View Related
What is the best way to pull a pc's Mac Address from a web page?
View Replies
View Related
Currently, I want to get the IP address from giving hostname in the Active Server Page. I know the hostname, I want to get the IP address via hostname in an ASP page.
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?
View Replies
View Related
How can I get the IP Address of the system that the client uses through ASP. I used Request.ServerVariables("REMOTE_ADDR")to get the IP Address, but that always prints 129.0.0.0 as IP address but that's not the IP Address of the system. Tell me if there is if there is any other alternative.
View Replies
View Related
How can I retireve the IP Address in ASP as a string ?
View Replies
View Related
How do i pick the MAC address of a network card using ASP. Is it possible to identify a system e.g the mother board ID or processor using ASP or any other object.
View Replies
View Related
How do you find a Mac (Hardware) address using vb scipt in asp?
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?
View Replies
View Related
Is it possible to check the Physical Address of the computer logged on the page in it's format like 00-08-E6-54-E4-9F ?
View Replies
View Related
I tried the followin code in all PCs at my organization
<%=Request.ServerVariables("REMOTE_USER")%>
but it returned the same IP address everywhere. How to get the actual IP address of one's machine?
View Replies
View Related
I would like to make ASP code that would put IP ADDRESS of person who visits my page into a variable . sth similar to IP = request.form("IP ADDRESS") ... just i would like to request "IP ADDRESS" and put it into "IP" .
View Replies
View Related
In reference to an e-commerce website, is it possible (using Active Server Pages) to obtain the IP address of a particular user? I would like to get an address that uniquely identifies the user. If so, how would that be done?
View Replies
View Related
I bet this is a simple one, but I just don't know.
www.mydomainname.com/12345
How do I grab the 12345 in my ASP page as the ID#?
View Replies
View Related
I'm trying to get remote ip address and local ip address
of the user (i.e. machine name) but i couldnt find out it.
however i can see the public remote ip address.here is
the little code that i have written..
<%
For Each Item in Request.ServerVariables %>
<tr>
<td><%= Item %></td>
<td><%=Request.ServerVariables(Item)%></td>
</tr>
<%
Next
%>
View Replies
View Related
I have been developing an online payment system using classic ASP
which uses Msxml2.ServerXMLHTTP to submit an XML package to a 3rd party payment
system. The website the payment system is part of is one of many on a
Server 2000 / IIS5.0 installation. Each web site on my server has its
own IP address. The 3rd party payment system is hosted on another
server not under my control.
The issue I have is that when the XML package is submitted, the 3rd
party system is not registering the correct IP addresss for the
originating request from the website, it is registering the 'Core' or
first IP address on the server. The originating IP address is part of
their authentication model and so the XML submission is failing
because the wrong IP address is being passed through.
View Replies
View Related
Ive been looking everywhere for some simple street address validation. All I can find is email. Im not that great at working with string because I forget a lot =P but how can I check a string so that the format is like a street address.
str = "1015 Salem Street"
If street address is correct then
strsql(insert...
else
Invalid Street address
View Replies
View Related
In some site I found like this one I notice a logo in the address bar before the url. How can I do that using asp or some script?
View Replies
View Related
how do i encode the URL to just stay at teh web address and not say ?ID=122 at the end?
View Replies
View Related