Remote_addr Will Return My Web Server Ip Address

I have a web server with a firewall. The problem is that when i use request.servervariables("remote_addr") the ip i get is my server's ip.
Is there any other way to retrieve my visitor's ip?

Looks like the firewall cought the visitor's request and then request's
this page from the web server-and send it back to the visitor.(but still i
am not sure if this is what happens)

If i have to reconfigure my firewall can you give me some info on how to do
this and if this is secure!!

View Replies


ADVERTISEMENT

REMOTE_ADDR Gives A Wrong IP Address

In one of my setup, the server REMOTE_ADDR(url = Request.ServerVariables("REMOTE_ADDR")) does not work, itgives a IP address but the wrong one. It does not give the IPaddress of the machine surfing the page. It seems to me that itis giving me the IP of some proxy server. Is there a work around to this issue ?

View Replies View Related

REMOTE_ADDR Gives My External IP Instead Of LAN Address

I have a webserver which is behaving strangely. The server is a fresh
copy of Windows 2003 running IIS with default options + Active Server
Pages installed. The server is connected to a Linksys router, and has
a static IP address of 192.168.1.10.

When I access a page with the following script directly from the
server, my WAN IP address is returned (24.x.x.x.), instead of my LAN
address. Code:

View Replies View Related

Return Server Time

In ASP, how can I quickly return the server time + 2 hours, using VBScript?

With TIME(), I've found functions for date arithmetic, but I can't find anything for
time arithmetic.

View Replies View Related

Server Text Return Recordset

I've got a SQL Server database, and am pulling records from it via ASP.Everything works fine, apart from the field which is stored as 'text' data type in SQL Server.If I change this data type to 'varchar' it works fine, but I need more than 8000 characters, so really I need the data type to be 'text'.Can anyone suggest why this might be happening, and how it could be resolved?

View Replies View Related

REMOTE_ADDR

I am logging (trying to) visitor's IP by the code below, though all I get is "192.168.117.10".

What can I do? Is it my web hotel that messes things up?

View Replies View Related

REMOTE_ADDR?

I have a landing page host in different ISP, and it's point to my site. How can I track where they're coming in the landing page and pass the info to my site?

View Replies View Related

Server IP Address

i have a system that allow me to do file transfer over the internet to a server. normally i using savepath=Server.MapPath("/WSS2/files/") to get my variable savepath to get my directory to perform upload. what do i need to do to change my coding if i have a server that IP Address 123.123.1.1? very urgent, hope someone can help with it.

View Replies View Related

Server Address

I'm working with 2 servers : one running my asp application and other containing my database.Is there another method to specify/to get a file's address beside Server?

View Replies View Related

ASPPop3 (Server Objects) Fails To Return Email Details

Can anyone tell me why this code doesn't work? The original came from
an example in this group, but was modified slightly when the original
failed to return message details.

I am able to connect to the server and see the number of messages on
the server, but message details (sender, subject, body, etc.) are not
returned....

View Replies View Related

Server Address Used On My Webpage

i created an application that streams from a server but my problem is on my server there quiet a few drives for eg drive m,u,f,g,h right and lets say my ip for my server is 123.34.0.1 for arguements sake right.....

View Replies View Related

Code For Collecting User Ip Address/date Into SQL Server Database

I need code to capture a users ip address once they agree to a disclaimer (a form yes/no). If the user states no a message telling them they do not have access and a redirect back to the home page.

I need to put the ip address along with the date a sql server database. I am lost as to how to code this and also how to set it up in my directories.

View Replies View Related

Reading The Global Address List Form Exchange Server

Does anybody know of a good way to get a list of emails from the corporate
exchange server from a corporate website?

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

Can Request.ServerVariables("REMOTE_ADDR") Fail And....?

Can Request.ServerVariables("REMOTE_ADDR") fail and catch the address of my
default gateway in my local network? What should I do?

Sometimes brings 192.168.0.1(the address of my default gateway) instead the
remode IP address: 200.200.15.2, 64.100.2.1, etc....

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

Return From ASP.NET To ASP

I updated to aspx last three month,after developing serveral
applications,Idecided to downgraded to asp, following is my reasons:
1.in ASPX,the page format is hard to control,in ASP u can change every html
as u like ,but in aspx, a aspx control decide the page format,and its hard
to change the format.

2.ASPX is said to be faster that asp, but it is based on too-often
communication back to the server,for example,u click a radio a button,there
is new page request, but in reality,such a communication is
bandwidth-consuming and time-consuming. the user only need to submit the
form, and the exchange between IE and Server was minimazed.
the Speed of ASPX is not useful for most sites, for bigger sites, the speed
increase is singnificant,but for small sites with less traffic, the speed of
ASP is quite enough.

3.ASPX is based on Object Orinted Programming, but in most small sites,
Procedure orinted programming is used, we never build objects, and POP is
more efficient.ASPX is for three-tiered structure with a single layer of
business logic component, but in reality, most of us used two-tier
structure,that is Presetation layer and Datalayer, we can layout the page
and change the database in a single page, quite effienct too.

View Replies View Related

404 Return

I want to return a 404 response from an ASP script (IIS 5).

Response.Status lets me set the response string, but if I don't include any
HTML text myself, the result is an empty page.

Is there a way to 'redirect' it to the server's default 404 response, as if
the URI really doesn't exist, but without really redirecting it so the URL
isn't replaced in the browser's address bar?

View Replies View Related

Return Value

I am trying to replace a huge chunck of code that currently I incorporate
with an #Include directive. The program rarely has to flow through that
code, so I thought it would be better if I used Server.Execute.
I found I can pass data TO the called asp file by creating an HTML <input>
and erading it after I get there.
However, I also need to read back ONE variable that the called file must
set. I cannot figuer out how to do that. My backup positions are (1) I can
keep on using the #Include technique, and (2) I can use a database to bridge
the gap.Isn't there a way to carry data BACK TO the calling asp file FROM
THE CALLED asp file?

View Replies View Related

Return A Value

I am using a stored procedure to insert set of values to a table.I am generating or calculating the value of the primary key and inserting that record and i need that value to use in my application so is there any possibilty to return a value from storedprocedure to asp application.

what i am using to do is creating a #temp table and inserting that value in the sp and then opening that value in the asp application and droping that table, but i hope it is not a efficient method.

View Replies View Related

Log In Return

When a user logs in, I want to redirect them to the page that they were previously on. How do I do that? I already have the login page working. I just need to edit the redirect part.

View Replies View Related

Return Value

The code bellow functions well. However if I want to obtain a return
value using the code bellow, how is it done? Code:

View Replies View Related

Return Single Value In Asp/sql

I'm assuming this can be done, but I can't seem to get it to work... I'd
like to easily return a single value from a sql statement, something like:

"intNewItems = conn.execute "SELECT COUNT (ItemID) WHERE ItemDate = Date()",
where conn is the connection object, etc. What am I getting wrong?

View Replies View Related

Return Recordset

There is an access database and asp page .That asp page opens connection with that database,And opens a recordset online..

Is there any way that this opened recordset can be returned to Vb6 application which requested that Asp page to open connection and recordset and return some result.

View Replies View Related

Return Entire Row(s

I know there's a way to do this - well 99% sure anyway - and seem to remember reading an article or tutorial about how to do it but I'm not having any luck finding it.
What I need to do (using MySQL & ASP3) is to find all rows with "X" as a non-unique ID - there may be 30 or so total - and grab them to be archived in a CSV file before deleting the record from a DB.The reason I want to avoid hardcoding the field names is that they're going to change with moderate frequency.

View Replies View Related

Return A Checkbox

How do I return the true/false value from the database to be either a checked or unchecked box using ASP?

View Replies View Related

FormElement Return

I just need to understand how the following line returns its values.Code:
Dim Var
For each FormElement in Request.Form

Var = Request.Form(FormElement)

Next
You see say I have 5 form elements on an html form.

Element One
Element Two
Element Three
Element Four
Element Five
I know that it is not checking the names of the elements and producing the results in that order, I know its not running through the Elements top to bottom on the form.

So in what order does FormElement return the values and based on what?

View Replies View Related

Carriage Return

am trying to make a carriage return of the following:

Mailer.BodyText = "From: " & Request.Form("FRM") & VbCrLf & VbCrLf & "Message: " & Request.Form("MSG")

but it doesnt work.

when i received the email on my mailbox, the format is all in one line, like this:

From: John Message: Test message only

but i would like the "Message:" to appear in the second line.

View Replies View Related

Duplicate Return On Rs

in my SQL select query I have a LEFT JOIN between 2 tables that returns a
value if the data from table 1 is present in table 2, below

dbo.booking_form.COLL_CONTACT_TEL = dbo.tblFlag.TelNoMo OR
dbo.booking_form.MOBILE_NO = dbo.tblFlag.TelNoMo

Problem is that if the COLL_CONTACT_TEL and MOBILE_NO are both present in
table 2 it returns the record twice in the asp page repeat region.

View Replies View Related

Return A Value From An ASP Popup

I want to create a pop up asp page something like:

popUp('myasp.asp',.......)

and when the user closes the popup can I return a value. So sudo code would be like

myJavaScript
int temp = popUp('myasp.asp;,.............. /* Temp is the value returned by myasp.asp
set some textfield to have value temp.
end

Is this possible?

View Replies View Related

Use 'return' In A Function

When should we use 'return' in a function to return the result versus 'FunctionName = result'

View Replies View Related

Return A Value From Function

Code:
function findcinemaid(nameofthecinema)
findcinemaid = "select cinemasid from cinemas" &_
" where brand = 'tgv' and cinemaplace2 like '"&nameofthecinema&"'"
set cinemaidfound = objconndb.execute (findcinemaid)
optainedcinemaid = cinemaidfound("cinemasid")
end function

tgvcinemanamexcel = "[1u_f$]"
cinemaname = "ONE UTAMA"
findcinemaid(cinemaname)
response.write optainedcinemaid

if I put response.write inside funciton it will display the cinemaid properly but if I put it outside , it wont display

View Replies View Related

Return Results

My SQL statement won't return results where any field in a record is blank. What can I do to fix this?

strSQL = "SELECT * FROM newarchive WHERE Program_Title LIKE '%" & program & "%' AND Year_Aired LIKE '%" & yearA & "%' AND Sponsor LIKE '%" & sponsor & "%' AND Month_Aired LIKE '%" & monthA & "%' ORDER BY ID"

It gets its values from a form where some fields can be left blank. If the record itself does not have a blank field, the search will pick it up. But if the record contains a blank field, then it won't be selected unless it matches the Program_Title data.

View Replies View Related







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