Redirect To Private Server

What is the "right" way to redirect to an internal server from the outside? In other words, users can connect to my website and then I need to be able to redirect users with the correct login to a server with an internal address (10.x.x.x). Obviously I can easily redirect them with the address, but the idea is to protect the internal address from the outside.

I tried linking from the public site to a script page that simply redirects to the internal address, but the internal address still appears in the address bar and I don't know how to map it to a name without every user needing a host file entry. Anyone know of a way to do this? Basically the purpose of this is to allow external users to connect to an internal server to view proprietary data.

View Replies


ADVERTISEMENT

Server.execute/response.redirect/server.transfer

Real quick, please refresh my memory which one of the following preserves the information that was posted from a form?

server.execute

server.transfer

response.redirect

I need to have a page execute if an error occurs while processing a page that a form was submitted to and have the data preserved.

View Replies View Related

Private Subroutines

In ASP, if I define a subroutine as private

Private Sub mySubroutine(arg1, arg2)

I understand that the variables I define inside the subroutine are local only to the
subroutine. If the same variable is defined outside the subroutine, it won't conflict
(right?) What about variables that are defined outside the subroutine, but not inside? Are they available inside the subroutine?

View Replies View Related

How To Email A Private Message

When I try to email a private message to someone who responded to my posting it tells me that i don't have priviledge. I am registered but don't understand why I cannot email a private message to anyone.

View Replies View Related

PM (Private Messaging System)

I am trying to create a Private Messaging system for my Simple log in system, I am making forums my self, but i am not sure how to put a private messaging system in, could some one please give me the script plz?

View Replies View Related

Viewing Database In Private

how to view my database without making it a webpage for everyone to see. I would like to create a form and intake client name and phone number but I don't want the information available to the publicc to view. Is this possible. I use frontpage2002, windows millenium, and asp and frontpage extensions.

View Replies View Related

Issue With Private Functions

I just tried a test comparing a Function to a Private Function with this code:

<%
Option Explicit
dim X1
X1 = 9

Private Function RealTest(here)
RealTest = here + X1
End Function

Response.Write "The answer is " & RealTest(10)
%>

I get "The answer is 19". If the function is defined as private, shouldn't I have gotten
an error in the function that states that X1 is undefined?

View Replies View Related

Difference Between Private And Public Function

What's the difference between a private function and a public function?

What's the difference between a function and a sub-routine?

View Replies View Related

Redirect To New Server?

I want to retire the old server. During the DNS change, it will take about 2 days. how can I redirect the old traffic to the new server, and make sure header information (i.e. the URL) will get redirected as well so that the new server will know which application to response to the requests.

View Replies View Related

Redirect When Server Down

I have a website that links to some databases on a free ASP host, and sometimes the ASP server is down. Is there a way to redirect if the server is down?

View Replies View Related

Redirect On Server Time

I want to be able to redirect clients based on the server time. This is to direct clients from different parts of the world to different pages. Have seen a Javascript thta does this based on the clients time but can't find anything that does it using the server time.

View Replies View Related

Redirect A Frame Target From Server

I need them for presentation control and they work quite well except for this one "little" problem.

One of my pages located in a frame submits a form to itself for verification. The ASP psuedo code is

if verified
Response.Redirect newTopLevel page
(else keep going and reload me again in the same frame)

I can't change the base target of the frame until I verify, in which case I don't want to return to the same anyway.

Basically, how do I switch targets from the server to set a new top level frameset page?

View Replies View Related

Server.ScriptTimeout Redirect Question

I have an upload page set up and the script timeout is set to 2000. What I want to do is have the user redirected to a custom error page that I have created when the script times out. I am having trouble achieving this.

View Replies View Related

Server.transfer Vs. Response.redirect

ok here is my scenario - using model, vew , controller architecture:

-- user submits the view page to the controller

-- controller issues a server.execute on a model page to update the changed information

-- upon successful updating of the the information, the controller issues server.transfer back to the view

-- everything is fine at at this point, however, if the user hits the
re-submits the page at this point, the original items are still in the
request object from the first time around because the page never went out of
scope - so this causes another update to be inssued because changes are
detected between what is in the database and what is in the request.form
collection.

View Replies View Related

ASP Wait Some Time And Redirect Without Loading Server

Do you know any way to load a page, wait for 5 seconds IN SERVER PROCESS, and then redirect in the server side, - not using javascript?

What I pretend is to show a page that loads a .GIF file that appears to be loading something, and after 5 seconds redirect to results page, so users apparently think that a backend proccess has occoured.

View Replies View Related

Difference Between Response.redirect And Server.transfer

I have some ASP questions which I wanted answering (have an interview comming up)

1) What is the difference between response.redirect and server.transfer

2) How can you deal with recodset paging using ASP?

3) What are the different locking type and cursors in ASP?

View Replies View Related

Issue With Response.Redirect / Server.Transfer

I have a problem with getting a redirect to work on our server.

It's worked fine on our server for months, but suddenly won't work and I
can't figure out why.

codewise, It's nothing special:

Response.Redirect("indexThankYou.htm");

instead of redirecting the browser to this page, an JavaScript-alert-style
message comes up with the text:

Cannot Find 'file://E:wwwrootmdc00152-learnproengine2_00index.htm'. Make
sure the path or Internet address is correct.

(No page exists, nor was there ever any mention of it in the code)

I've examined the output with fiddler to find:

<html><head><title>Object moved</title></head><body> <h2>Object moved to <a
href='E:wwwrootmdc00152-learnProEnginev2_00index.htm'>here</a>.</h2></body></html>

I've checked that the aspnet client folder, and it's there and loads with a
code 200 (from fiddler)

Has anyone any ideas why this might have suddenly stopped working? Does
this sound like a cache-ing problem? The code has worked fine previously.

View Replies View Related

Response.redirect & Server.transfer Very Slow

On my WinXP machine, with both IE6 and Firefox 1.0, response.redirect and server.transfer take about a minute. But on my WinNT machine with IE5.5, it works instantly. What's going on?

View Replies View Related

Server.Transfer Vs. Response.Redirect... To... 209.11.22.33MyDir

Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors?

1. Client-side VBscript code: call navigate("209.11.22.33MyDir")
2. Client-side VBscript code: location.href ="209.11.22.33MyDir"
3. Typing "209.11.22.33MyDir" into my ie6 browser.
4. Typing "209.11.22.33MyDir" into my Windows Explorer.

5. Server-side ASP: server.transfer "209.11.22.33MyDir"
6. Server-side ASP: response.redirect 209.11.22.33MyDir"

How do I make it redirect?

View Replies View Related

Server.Transfer, Response.Redirect, #Include, & Security?

I've got an application that I want to redirect to another file while keeping the location of the file hidden. In other words,

WEBROOT.COM/REDIT.ASP?a=14

is going to display the contents of file
WEBROOT.COM/SECURE12954

without the user knowing they are in the /SECURE12954 subdir.

Which is better to protect that privacy the name of the /SECURE12954 subdir?

<%Server.Transfer("/SECURE12954")%>
or
<%Response.Redirect("/SECURE12954")%>
or
<!-- #include file="/SECURE12954" -->

View Replies View Related

How To Insert A 301 Redirect On An HTML Page On A Windows Server

My website is currently made up of HTML pages and residing on a Windows server.

Currently converting them all to ASP, that is going from .html extensions to .asp (besides adding funking asp functions)

My pages have all being indexed by Google, so wouldn't risk loosing good ranking with Javascript redirects, so I tought using this would solve the issue, for example, on a file named thatpage.html

<SCRIPT LANGUAGE="VBSCRIPT" runat="server">
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.mywebsite.com/thatpage.asp"

</SCRIPT>
Wherever where I insert it, in the head, in the body, before the DOC, it's not working, will have to resort to javascript? Will I have to put a link in the html page leading to the asp page? Wouldn't like to have user click agin to be led to the .asp version?

View Replies View Related

Memory Leak? Private Bytes/Virtual Bytes

As I ran in to errors like "Ran out of memory" and "Out of memory" I
supposed my website might have memoryleaks. To trace a potential memory leak
I isolated the IIS process and monitored the 'Virtual Bytes' and 'Private
Bytes' for a while.

I noticed the private bytes stays 'low' all the time. Sometimes a bit up,
sometimes a bit down. Virtual bytes also follows the same pattern for most
times. But, sometimes it increases to almost 2gb en stays there.

I've been reading for memory leaks an aggressive caching and stuff and was
wondering when there is a memory leak. In short: what does it mean thet the
amount of virtual bytes stays high? Is this probably due to caching or....?

View Replies View Related

Difference Between Private Function And Public Function?

What's the difference between private and public functions in ASP? When should I use either?

View Replies View Related

Redirect To Secure FTP Site Via Response.redirect

I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:

response.redirect("ftp://myusername:mypassword@ftp.mysite.com")

but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens myusername's FTP
home page just fine, so I know the FTP site is working as expected. Also,
if I put in an anonymous ftp site, without the username and password (e.g.
"ftp://ftp.microsoft.com"), the redirect works fine, too.

I don't want the user to be prompted by IE for the username and password at
the FTP site, so I am providing them from within the web site.

What can be preventing the response.redirect from handling non-anonymous FTP
access? Is there a better way to do this?

View Replies View Related

[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL Server Does Not Exist Or There Is No Permission

I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _
"Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.

I can login with EMS lite both with sql server Auth. and windows auth.What is fault?

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm trying to install a simple e-mail form to my webpage; which takes some info from user (like name, phone, e-mail,etc...) and when user pushes submit button e-mails them to me immediately. I've tried to do so with ASP Formmail but I couldn't succeed. . it gives me: Server object error " 'ASP 0177 : 800401f3' Server.CreateObject Failed " error. Can anyone please help me to install my form? Because I need to install it immediately;

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm getting the error,

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/pdf_project/form1.asp, line 19
Invalid class string

I'm trying to submit the data in my pdf form to the web server.I've written the .asp code for it but it has been giving me this error.

View Replies View Related

How To Read An SQL Server Into A ASP Page And Then Change, Add, Delete And Write It Back To SQL Server

I need to read a SQL Server table into a Web Page and within the Web
Page to permit my users to make changes to the records, delete or add
new records and then save the entire contents back to the SQL Server
table back.

The functionality I am looking is almost the same as In the SQL
Enterprise Manager whereby I can choose a table open the table and
then return all rows and I can maintain the same and save it back to
the SQL Server table. I want almost a similar web interface to such a
functionality.

Even if not a generic functionality as the SQL Enterprise Manager
table maintenance appreciate if somebody can share the code with a
sample how I can do it in ASP pages + T-SQL if need be.

View Replies View Related

Server.CreateObject Error: Server Object, ASP 0177 (0x800401F3), Invalid Class String

What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xyz@xxxxx.com"
objCDO.From = "zyx@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string

View Replies View Related

Sending Email By Using Corporate Exchange Server Instead Of Local Server

I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.

P.S. I’m using Dreamweaver MX2004.

The code that sends email is shown below ....

View Replies View Related

HTTP 500 Internal Server Error Online Server

I have made a site in ASP and I can navigate the site fine locally. However once I get to the product page I get:

"HTTP 500 - Internal server error Internet Explorer"

Does anyone have any idea as to why this may be? ....

View Replies View Related

Server.Mappath() To Include Files For Other Domains On Same Server?

If I have multiple websites on the same server,can I use the #include directive to reference include files elsewhere on the server? I tried this -

<!--#include file="C:InetpubvhostsATRAMEMBER.COMhttpdocsheader.asp" -->

But no dice...

View Replies View Related

Combining Index Server And SQL Server Search Results

I'm just about to start a project that needs to combine the results of a SQL
Server query with the results of an Index Server query. The basic idea is
that the user enters/selects a bunch of search criteria on a form.

Most of
the criteria selected by the user will be used to select records from the
database - standard WHERE clause stuff - but the user can also enter
free-text that should be searched for in associated uploaded documents.

The
documents are sitting in the file-system with file-name pointers only stored
in the database (not the document). Only records where the associated
free-text is found in the documents should be returned. I'm new to Index
Server and am wondering how is this done. Any good references/tutes?

View Replies View Related







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