Identifying The Web Site Address

I have several web sites running the same set of pages and all accessing the same common database tables. A field in all the records contains the web site address of the web
site to which each record pertains, for example, this field in some records may contain www.upperbridge.co.uk.

When a web site page accesses a database table, it needs to select the records that contain its web site address. How do I identify which web site this page is in?, how does the page get hold of this web site address so it can use it to select the correct
records in the common database tables?

View Replies


ADVERTISEMENT

Identifying When Users Leave The Site

I am still pretty new to .asp but I have a user db where I capture user log ins. When a user logs on session variables are created (e.g. User_ID, member_type) which I use to check user bona fides when they access user only pages.

Question: How can I determine when they leave the site or that they are still accessing the site?

I have had a trawl through ServerVariables but that only provides the info for my sesssion and nobody else.

View Replies View Related

Identifying A Web Request.

We are developing a web application which is targeted at two
types of users.

1) Users from within our NT domain.
2) Users outside domain.

The application will behave differently for these two types of users.

My question is that how can we identify where the request has come from? If from intranet or from outside?

View Replies View Related

Identifying Windows XP

I need to find out how browsers identify themselves in WinXP in the UserAgent header. For example, I would use the following to identify the operating system is NT.if (Instr(UA, "winnt") > 0) or (Instr(UA, "windows nt") > 0) then strOpSys = "Windows NT"

View Replies View Related

Identifying A Variable

i'm trying to set this polling script up so that i can have it pull a poll by it's id, but the user gets to pick which poll id they want to view. Now it's trying to get the poll id from a sql dbase.

this script is the results page.

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'id'

/poll/poll.asp, line 23

Code:

View Replies View Related

Identifying Modified Field

Is there a way where I can identify if the field sent was modified?

View Replies View Related

Identifying Loop Textbox

i created my texbox in a while loop. that means when the texbox is displayed with the questions that come from the database it has the same name. how do i differentiate this textbox from the others.

i know i have to assign some variable to it but how do i do it? there is also a button at the end of the page that check the values in each textbox with that of in the database. basically the page displays lessons where the questions are retrived from the database. and its a fill in lesson.

View Replies View Related

Identifying Which Radio Button I Clicked

I move from one form to another when I click to a radio button. I can
identify which radio button I clicked by trapping its value. but my problem
is that there are a set of radio buttons followed by values being displayed
from a join table.

I want to know the values displayed from the table. so that based on which I
can do my further processing. Like the radio button is showing the name of
student, his id, story id...and 2-3 more things. when I select the first
radio button (its value = 0 ),

how can I know that the selected one is for which student_id and for which
story_id.??? Code:

View Replies View Related

Authenticating/identifying Recipient Of Mail (with Link)

I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)

I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....

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

Building An ASP Site Using Dreamweaver - Can Html Site Be On ASP Server?

I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?

The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp

If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?

Can a Html website be loaded and working on an asp server or host?

Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.

View Replies View Related

Posting Form Variables From Site A To Site B

I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.

View Replies View Related

Site Search Powered By Google Site Map?

Whenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.

I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.

I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?

Seems like if you were keeping it updated for Google, why not use it for
your own site?

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

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 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







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