Obtaining IP Address With ASP

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


ADVERTISEMENT

Obtaining A Value From A Field

I'm trying to do a postcode lookup. I'd like to obtain the value of a text field in a form before submission than pass that value to another asp page (which does the processing then passes the values back) via a hyperlink. I don't want to submit the form as I have another button to do that later when the user has completed the form.

I assume I'd have to do this with a Javascript function but I have several problems, I don't seem to be able to get the value and I don't know how to put it into an asp variable to use in the hyperlink.

View Replies View Related

Obtaining Client Side IP

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting techniques,
the http headers contains the firewall's IP instead of the client's.

View Replies View Related

Obtaining Work Hours

I have a request from the boss to make a report that will require me to display how many hours something has been in a particular state. (As in status). Hard to explain. Anyway, I need to go to the table in the db, find all rows for a particular trouble ticket, find when they were put into one of our 7 statuses, when they were put into another status (this info is already in those rows), then determine how many hours they spent there in
each status.

So a ticket report will say that ticket 1000 spent 4 hours in customer research, 5 hrs in our company coding. 3 in our company testing, 4 in customer testing, etc.

The thing is, It has to assume an 8-5 workday, and leave out any hours which don't fall in between 8 am to 5 pm, and also rule out any weekends.

View Replies View Related

Obtaining User's XP Username

I am writing an ASP that writes info to a database. The application does not reqire the user to log in as it doesn't have any authentication process, but as part of the information I write to the database, I need to pass in the user's Windows XP username. I don't want to have to ask the user to enter their username, so is there a way of obtaing the user's XP logon username without them having to type it?

View Replies View Related

Obtaining Value Of Radio Button

I'm wondering how I go about obtaining the value of a radio button and a list box in a form for validation.

I have it right now as

optCust = Request.Form("customer") - Radio button
lstCountry = Request.Form("country").Item

And when I place them in my validation that gets passed to the address bar they do not store with the value they are given. Am I pulling them from the form wrong or is their a special way that it should be passed to the address bar of my redirect error page?

View Replies View Related

Permission Denied. Address 'zzz.zzz.z.zzz' Is Not An Allowable Remote Socket Address.

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

CDO Error "Failure In Obtaining User Token." (Error '8004020F')

I'm having a bit of trouble with an ASP form that I'm maintaining. Someone else wrote it and I'm new to CDO objects. I have a CDO.Message and a CDO.Configuration.

I set up the configuraton fields for the port and smtp server's ip address to be used. The configuration property of the message is set to be the new configuration object.

Then there's a ton of stuff appending bits and pieces to the text body.

Finally we have the message's Send method being called. That's where it breaks.

It seemed to just stop working one day. When I submit the form, the message returned is simply:

error '8004020f'

I know from the MSDN website that this error code means 'Failure in obtaining user token.' What I don't know is how to fix it!

View Replies View Related

Remove Email Address/ Pseudo Email Address

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

Getting MAC Address Using ASP

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

Ip Address &

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

How To Ban An IP Address?

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

Mac Address

What is the best way to pull a pc's Mac Address from a web page?

View Replies View Related

Get IP Address

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

Getting MAC Address

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

Get IP Address

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

Getting IP Address

How can I retireve the IP Address in ASP as a string ?

View Replies View Related

Mac Address Of A NIC

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

MAC Address'

How do you find a Mac (Hardware) address using vb scipt in asp?

View Replies View Related

Getting MAC Address Using ASP

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

Get MAC Address

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

IP Address

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

Get Ip Address

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

Grab ID# From Address Bar

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

Remote IP Address

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

XML Package And IP Address

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

Address Validation

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

Address Bar Logo

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

Keeping The Just Web Address Not ?ID=122

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

How Can Get Client Ip Address

how can i find the ip address of a client?

View Replies View Related

Getting IP Address In ASP Page?

Is it possible to trace the IP address of the browser which launch the ASP
page in the server? I'm trying to do the tracing for security purpose.

View Replies View Related

Billing Address

i have a form with 2 sections: billing address and shipping address. the billing fields will be filled in from a db, corresponding to how the user has logged in. a drop down box will be filled from the db with the possible shipping addresses. how can i fire the form to fill the shipping fields from a selection in the drop-down?I don't have any code on this yet - trying to rough it out. is it possible?

View Replies View Related

Redirect New Address

i have a set of asp web pages that have been moved from an old to a new web server
i wonder what's the best way of redirecting users to the new address - i've put a redirect on the home page, but ideally i'd like every page on the old server to redirect to its equivalent on the new server if that possible
also, at some point in the future the old web pages will be deleted - is there a way of redirecting users that still attempt to access them ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved