Unique Host IP

I'm trying to obtain the IP of the hosts connected to my webserver.

Code:

<%
on error resume next

'trying to obtain host IP
ip = request.servervariables("remote_addr")
response.write "IP addr: " & ip & " --- "
ip = request.servervariables("remote_host")
response.write "IP host: " & ip
%>

If I use the above script, it shows me the IP of my ISP webproxy, not mine.

View Replies


ADVERTISEMENT

Iis Web Host

I have just uploaded my asp pages online and set permissions to to read write and execute but i am still having trouble, it displays this message.You are not authorized to view this page
The URL you attempted to reach has an ISAPI or CGI application installed that verifies user credentials before proceeding. This application cannot verify your credentials.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
Internet Information Services (IIS)

View Replies View Related

Host URL

I need to grab the full url of the virtual server server of the image
directory

View Replies View Related

New Host

We've had a Fasthosts reseller account for quite a few years now and have been relatively happy until now.Unfortunately they've started to push out MySQL DBs (I think 4.2.x or 5)that don't work very well with classic ASP and basically said you can b*$£*"s if it don't work with your apps.

In which case, we do not wish to pander to the FHosts machine anymore and are looking for a new host.Bearing in mind what the Windows based FHosts reseller account can provide,can anybody suggest a better host?

Please note we were stung badly by 2 'from the attic' ISPs before so wedon't want to go down that route anymore.

View Replies View Related

Ip And Host Name

I need to get visitors ip address and host name when visitor visit my homepage. Can someone please paste an example of an asp page that handel this ?

View Replies View Related

Add Host Name

Does anyone know how to add a host header to a web site running IIS 5 using ASP?

View Replies View Related

Host ASP On Linux

Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting
ASP on linux.

View Replies View Related

Local Host Id

is anybody know how to capture lan id(localhost id ) address in lan. u can check the same under dos using command ipconfig. but i am not geting the same id using bewlo code

<% Response.Write Request.ServerVariables("REMOTE_ADDR") %>

View Replies View Related

CDOSYS On Host

My web host uses CDOSYS to snd mail. right direction to get some code for this please?

View Replies View Related

New Host, Not Working

I recently moved all my files and db to a new host. I cannot get the site to function properly. The site appears to be pointing to an old test template my programmer set up, and not my index page. I have lost my programmer, and I don't know ASP at all.

View Replies View Related

Setting Up On Web Host

I haven't ever used ASP on a web host but will most likely be shortly with a members area and was just wondering if someone could answer these questions. Do I have to have the ASP files in a certain file and with the database?

Do I only need to have the asp files or do I need a file like adojavas.inc like if I am using in on my local computer with a web server?

View Replies View Related

Printing To The Host Printer ??

I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??

View Replies View Related

Email, ASP Timeout And Web Host

I'm sending emails to a database of 2000 people (that will be double
that in the future). My web-host provides ASPQmail. I have to send the
emails out in groups of only a few hundred at a time to avoid the page
timing out (I have set the timeout value to a very high value). Once in a
while it seems as if either the SMTP server or the web server is running
slowly and I can't get it to send even a few without timeout problems. I
never get the log file showing anything.

Is there a better web-host situation and email/SMTP I should look for?
Do I need a dedicated server? Any suggestions as to how to go about a bulk
email scenario? At least when I do have problems I would like to know
which clients received their mailing and which ones didn't.

View Replies View Related

IIS 5.1 Local Host Error 500.100

Installing IIS and getting a strange error.

..Error Type:
Active Server Pages, ASP 0134 (0x80004005)
The object has an invalid ProgID of 'MSWC.MyInfo'.
//global.asa, line 1

This error comes after on Page not Found error after entering http://localhost .I have done all the localhost not found suggestions in the localhost not found thread. I also looked up the error in the knowledge base and the Anonymous login was not checked for the localstart.asp file. I also ping 127.0.0.1 just fine.

View Replies View Related

Host Problems With ShellApplication Object

I have been using the ShellApplication object in an ASP script to
retrieve some file characteristics that the FileSystem object does not
access (this is one of my clients' sites on a commercial host, running
IIS 6.0).

The script ran perfectly for about 6 months, then began returning
"Microsoft VBScript runtime error '800a01a8' Object required". The code
had not been changed. The script doesn't produce an error on the
creation of the object, but at the first use of it.

The hosting company rebooted the server and it again worked fine, but
then failed again.

The hosting Co's attitude is "you are the only client using this object
and the only client affected by it failing - find a different way to do
what you want to do"

My contention is that they started/stopped doing something that has
caused this to fail and just don't want to be bothered
researching/fixing it (I use the object with no problems on several
other hosts).

Can anyone shed some light? Is there a known problem with the object or
something known to cause it to fail?

View Replies View Related

Setting Local Host Permissions

I download an application from a 3rd party for a forum that uses Microsoft Access. When I try to log in, I keep getting an error about the database being read only. I go to the hard drive and right click and uncheck "Read Only" but it never works, I've done this on the database file, the directory it is in, the parent directory, the wwwroot directory, the Inetpub directory.

View Replies View Related

Popup Window Changes Host Page

When I use this command in a webpage

Response.Write "<a
href=""javascript:window.open('events/EventDetails.asp?EventID=" &
theEventID & "' )"">" & theLinkText & "</a>"

I get the new window to open but it also affects the "host" window. The "host" window is left with the word "[object]" in it. If I refresh the window that says [object] the new window opens again. Why and how can I make the new window open without affecting the previous one?

View Replies View Related

Cookie And Session Are Not Created When Using A Host File Instead Of DNS

When I use a host file entry to point to the host header of the site
that I have created on a Win2k server running IIS5, a cookie is not
created to hold the session id. The result is that Session_OnStart is
run every time a page is requested.

If I set up a DNS entry on the DNS server it all works fine.

I never noticed this problem before we put in Active Directory so it
may have something to do with that.

I have set "allow per session cookies" to promt(under Custom Secrity
settings in IE) to see if this is being attempted and it is not. So
the browser is not even trying to create the session cookie when using
the host file.

View Replies View Related

Windows Script Host Files From ASP Page

does anyone know how to run a .wsf file from an ASP page?

View Replies View Related

Validation Controls Not Working On Remote Host

I have two .aspx web pages. The first one has a form with ASP textboxes, validation controls, an a submit button which calls an event handler using VB to insert data into an Access database then redirect to the second page.

Both pages work fine on my local host computer (IIS). But on my remote host, when I click the submit button, it just sits there and does nothing. When I remove the validation controls, the event handler works fine.

How can I get the validation controls to work on the remote server?

View Replies View Related

Host Doesn't Support Server-side Includes

I've just been caught out by a host that doesn't support #includes in my
ASPs. What's the best strategy for replacing these calls to files that
include everything from subs and functions, global constants, other
#includes, script directives, etc.??

View Replies View Related

Test If A Host Supports Collaborative Data Objects

Is there a way to test if a host supports Collaborative Data Objects like

Server.CreateObject("CDONTS.NewMail")

something like phpinfo to show the servers ASP setup? which components are installed etc? i've got a form mail script im testing that seems to parse ok (no errors),but am not receiving the email at any of the recipient addresses im sending it to.

View Replies View Related

Unique ID

I need help with some asp code that would allow me to grab the last record id and add one to it for the new record being inserted.

I am new to asp and have been banging my head up against the wall trying to get this to work. I am currently using Visual FoxPro 6 for my database.

The SQL statement I am trying to use is:

strSQL = "SELECT Max(contact_id) FROM CustomerContact;"

View Replies View Related

Following Unique ID

i'm building an ecommerce website and I want to create a unique orderID for each new order. My problem is that I don't want to have a random number but a number where each orderid is one higher then the last order like for example 4850323, 4850324, 4850325....

I tried to do this by using an application variable where 1 is added after every order but
this doesn't garantee a unique number because if IIS is reset it also resets the application variable.

View Replies View Related

Which Unique

I've a databse of product in which I've unique ProductCode plus a ID that increments by 1 (AutoNumber). both the code and ID are unique and there will be no duplicate but is it worth having both in the databse?

I mean, can I not just use the productCode and forget about the ID? does this makes any difference? as far as I can see I'll have no problem in using the ProductCode. how you'd do it.

View Replies View Related

What Is The Best Way To Creat Unique ID

Whats the best way to create a Unique ID and insert it into a Access DataBase? the field that holds this is a text field, and is called company ID.

Its a text field because it seems to cause less hassle

View Replies View Related

Unique Values

I have a list from a database which I have made into a dropdown box, with each option as one line from the list.
At the moment I have several repeat values which I do not want.
I can set up a series of nested if statements and loops to remove the duplicate values but I would expect there to be a function which does this much more easily.My question is:

Is there an easy way of only displaying unique values from a database using ASP and SQL.

View Replies View Related

Unique Entry

This is about a simple form validation in asp using javascript.there is one field called invoice_number which requires an unique invoice number as input. Whenever user inputs duplicate values message should pop up as warning on submit of the form. A sql fetches all the invoice nos. from database into an array using getrows.how do i use the result of getrows in javascript to perform client side validation

View Replies View Related

Best Algorithum For Unique ID

I am trying to find a best algorithm to generate unque id(alphanumeric less than 10 character long - not GUID) for entering orders in orders table for an e-commerce site.

View Replies View Related

Unique String

I need to implement a email confirmation ASAP, but I need a way to create a unique ID. Can I just use the SessionID? People will click a link in their email, (if it exists), and my site will validate it. ASP.NET has GUIDs, but ASP doesn't. I'm wondering if a SessionID will just do it?

View Replies View Related

Generate Unique ID

in Database i have table 'timetable' it contain one field 'lect_id' which is primary key of that table. i want to generate unique ID. How can i do that.

View Replies View Related

Unique Records

I have a tablet structutre that is the following:

id customer error
1 custa 0
2 custb 1
1 custa 3
2 custb 0
1 custa 0

Each id is unique to customer. I have a table with over 100 rows of the above.I need a way to pull that last three occurances of error number 0 for each customer? I was trying to use a subselect but i was having trouble.

View Replies View Related

An Unique Strange ASP Session

I have developed a site for my client,

eg., www.abc.com

I have registered the domain with godaddy and mapped the dnc to my server (Windows 2000)

When i browse that site using that www.abc.com, in one of the pages i found that the session value is lost. This happens only in some machines not same with all. Most of the machines works that site properly. But not the same in some machines. All machines has configured same.

The exact part is
eg.,

customerdata.asp

session("custdata") = request("name")
response.redirect checkout.asp

in checkout.asp

if i give response.write for that session("custdata"), In some machines i m not getting the value.

View Replies View Related







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