Calling A Protected Page?
How do I call a page in a password protected directory? In other words, I had my admin make a directory protected with authentix and now I want to use a page outside that directory to call a page inside that directory. How can I do this
View Replies
ADVERTISEMENT
How can I call one ASP page from another
Page1.asp returns me some strings in the form of response.write
Page2.asp will call page1.asp and use that long string returned from
page1.asp....
View Replies
View Related
I have one VB exe file. Can it be called and opened in ASP page like as html form is shown. I want to execute the exe file from any machine. Should that machine have vb and sql.
View Replies
View Related
I know that this is easy to do, I've done it before, but I can't find how I did it before.Basically, my ASP page can createObject for a compiled DLL, but it can't do
it for the non-compiled DLL (running in VB6).
View Replies
View Related
WE want to call an ASP page that will contain our site navigation html. But call it from pages with .htm extension. Our site is on an NT server. Is this workable? We do not want to rename our existing .htm pages to .asp. This would screw up our page positions on search engines.
View Replies
View Related
is there a way of getting the page that called the current page? Like, I'd like to add a 'back' button that fills some info and then sends to the previous page, which could be one of many pages that can call this current page.
other than adding a form hidden field and passing it at submit or whatnot, is there something like session('callingpage') or something like that?
View Replies
View Related
I have an ASP page that has over 150 records listed. I would like to have an "Index" (A,B,C,D...) at the very top of the page. Once a letter is clicked, I need to:
1) Call a SQL string like "SELECT * from WoD Where UCASE(WotD) LIKE " & UCASE(strSelected) & "*" & Chr(34)
2) Recall the SAME page (Not another ASP page) withpopulating with the new recordset.
I am having a total brain fart on this and can't figure it out.
View Replies
View Related
I wrote a dll and I want to call it from asp page, but I can't do it. I am using the method: server.CreateObject, but can't interface with the dll. I think that my problem is registering the dll to Windows, and when that I am doing it I receive an error message that telling me that "DllRegisterServer may not be exported". what should I do?
View Replies
View Related
I am trying to execute some script on my server that is currently run on an ASP page.
However, I am finding that it can often take up to 5-10 minutes to run and the user is not needed for this execution anyway. What I am attempting to do is write the script into a .vbs file on the server and execute the script when necessary.
I would like this script to run without the user knowing and therefore I do not want the asp page to wait for a return from the script. I am trying to use:
Set WshShell = Server.CreateObject("WScript.Shell")
ReturnVariable = WshShell.Run("c:connorVBScript1.vbs", 0, FALSE)
The FALSE tells the system to run the code and not wait for a return. The webpage seems to run and returns to the user as it should but the script is not executed.
Anyone have any ideas?
View Replies
View Related
I have a function in a script file that I use from a couple of different pages. Can I, within the function, detect which page is being viewed (which page called the function)
View Replies
View Related
i was wondering if i call an activex dll that resides within the same domain, but on a different server from IIS.
there is no problem if its registered on local machine, server.createobject(), i read about MTS and was thinking it could be the solution, but it has a few restrictions or should i say warnings about using components developed without regard to MTS and if the component uses other components...and so on, frankly, im scared to use it.
View Replies
View Related
I have asp page. In that I want to call a aspx page in the background.That called aspx pages will send and receive mail in the background.The calling of the aspx pages should be hidden from the user.Is it possible.
View Replies
View Related
In my asp page I have a form with dropdown list,some text boxes and a submit button.When the user selects any value from the dropdown list, I want to retrive the selected value in same page and display it.I know it's not tough,but still Iam unable to get it...ending up with some error.Can anybody help me out in this matter?
View Replies
View Related
I am trying to call a field value from my database - which gets open in an included file (all work on database must be done in that included file), if i use response.write(rst("pagename") it would print fine in the page when I call the sub i.e <% call pageNameFind() %>
But i want to get the field value to appear like this <% PageTitle = pagename %> where pagename comes from the included sub pageNameFind pagename = rst("pagename")
It doesn't pick this up however - how would I do this? This value will then be sent on to another included file at later stage. and I must have the <% PageTitle = myvalue %>.
View Replies
View Related
I have 2 sites on my Windows Server 2003/ISA/IIS machine. One of the sites works fine and has 'default.htm' for the default document. The other site returns an 'HTTP error
404' and has a 'default.asp' for the default document. Aside from that they appear to be configured the same.
View Replies
View Related
I'd like to know whether it's possible to call Java classes compiled with the latest Sun JDK from an ASP page? All the documentation I've been able to find on the net has referred to the ancient MS JVM and SDK, and I don't seem to be able to get any of the examples to work, so I'd like some idea of whether or not what I'm trying to accomplish is, in fact, workable.
View Replies
View Related
I have a stored procedure named as
usp_CheckLogin with two parameters
as @usID, @Password
also values of these parameters are to be extracted using Request.Form from
the fields in the forms. Now How do I call this stored procedure from an ASP
Page using a Connection object in Server Tags <% %>. Also this stored
procedure returns a Numeric value as "RETURN_VALUE". please give me the
syntax. This stored Procedure is a part of Session Management module.
View Replies
View Related
I am trying to run an example code from a book. However I am getting the following error message:
Number: -2147217900
Description: Syntax error or access violation
Source: Microsoft OLE DB Provider for SQL Server
SQLState: 42000
NativeError: 0
The following is the code that is being used in the asp page:....
View Replies
View Related
I created C# COM+ component. It has two overloaded methods - the method names are same and their signatures are different, one takes two parameters and another takes four. I coded this way: the method with 4 parameters is coded first and then the one with 2 parameters.
I created very simple ASP page to call these two methods. Calling the method with 4 params has no problem. However, calling the method with 2 params I get the error saying:
Error Type:
Microsoft VBScript runtime (0x800A0005)
Invalid procedure call or argument: 'SetReferenceValues'
/suitevoyager/testLmx.asp, line 16
How can I solve this problem?
View Replies
View Related
I have a standard Header.asp that I want to include in every other page in
my site. Header.asp is located in the root folder, but the calling pages are
in various folders/levels. Since the relative paths specified in header are
subject to change and are based on the relative path of the calling page,
problems arise. (Strangley, using the IFRAME method of including a header
doesn't react the same way.)
The solution I believe lies in using absolute paths in the Header.asp file
using the "virtual" include qualifier. But this assumes your development
directory structure is the same as your production environment. So I guess
that is the answer. Use absolute paths and set up your development directory
structure to be identical to your production.
View Replies
View Related
We are currently facing a strange problem. We wrote an ASP application using some sessions and database-connectivity, nothing special.
On some machines (we are all using IE5.5 / IE6) those applications produce a 404 error.
The pages that are called do exist (I checked it thousands of times and it is only happens on some machines). Most of the machines have no problem with that pages and do not produce any errors which makes me belive that it is no real programmed problem.
The strange thing is that a reinstallation of IE mostly helped and if not we reinstalled the complete computer (as you can guess this is no real suitable way.
Maybe it has something to do with the sessions we use, but they are not so big.
I hope (not for the one who really has) that somebody has also experienced this kind of problem and can point me into the right direction.
I also tried different IE newsgroups but they had no idea, that's why I now try to ask ASP-programmers.
View Replies
View Related
I am creating a series of downloadable articles, career
tools, spreadsheets, etc. However, some of the content is
for "registered" guest. The registrants are stored in a
database and logon.
I want to ensure that someone registered cannot simply
pass someone the path to the files for download. However,
I am not creating an actual system user name for the
folders where the various documents exist.
I don't want someone to logon, retrieve the path to a
file, and be able to send that path or return to that path
without having to logon.
How do I accomplish this?
Consider the following:
serverroot/registeredcontentfolders would be protected by
a single logon name - not accessible via anonymous
access. User's logon to site and I auth them with their
user name but on the server side, auth with the single
account I am establishing for access to the protected
folders.
View Replies
View Related
I have a site that is using .asp mainly for SSI. There is a login section where the user types in their login and password, and this allows access to the member area of the site. So far so good. However, once in the member area, the user could bookmark that page and get back to it anytime without having to login again. Therefore, they could just email the link to friends and anybody could access it. (and yes, if they wanted they could email the login and password - but I can't stop that). I have another site that uses a single login/password to access restricted areas, but it's done with .php Any ideas about a quick code insert that could use their login/password to gain access (per session) to a certain file folder.I hope it's not an obvious answer
View Replies
View Related
how to password protect a directory (downloads) on a Windows NT Server? UNIX is a breeze. It seems like you need an Act of God to get Windows to do the same?
View Replies
View Related
How can i open an Acces Database protected by password in ASP ? To open a Acces Database without password, my code is :
conn.Open "DBQ=" & Server.MapPath(".") & "d1.mdb" & ";Driver={Microsoft Access Driver (*.mdb)};" ...
View Replies
View Related
Im running a site on IIS6 and its got a link to a protected directory.. Authentication required, so user enters their username and password and it gives them access to the directory.
now however we want to use the same link but different users.. so whoever clicks the button it prompts for login information but then redirects them to their own directory per their username/password. any ideas for me to investigate ? maybe an index.asp that waits for username and then redirects ? is there a simpler way ?
View Replies
View Related
I have pass protected files within a directory adequately and included a function that ensures the http_referer is the secured folders index file so that I can be sure the file they are calling is opened up as an include within the index file.
My problem is what if it is a pdf or word doc or pp file. It is a bit of a training directory and they may use various forms of presentations. Now in cold fusion I can control the whole directory by implementing the application.cfm file but I know of no way in asp to do this.
View Replies
View Related
I have created a password protected area on my website using session variable. I used a pre-programmed package on the internet using ASPLogin not the very expensive company software- another more basic type from another company! A user can log in OK for the first time, however, when he/she next visits within a couple of days or more the login screen says that they are already logged in., and because of this, they cannot log in and have to wait for the session variable to expire.
I am using both Mozilla Firefox and Internet Explorer and both are having the same problem. I am not too sure of what is going wrong here, as ideally, each time they have logged out I would like them to log back in OK again.
View Replies
View Related
I am trying to create a website where user is required to login first
to view members page.
I want user to come to my website. They can move around in free
sections where I give examples of the lessons that are to be taught.
But if they need to few the whole lesson then I want them to signup
first. Signup is free.
I want to use ASP to do that.
if you know any tutorial or have an example which tells how to do
that, please let me know.
View Replies
View Related
I know how i can list and manage files (with the file object) on a normal directory with ASP. But i couldn't find any information on how do i list/work with files which are locaed on a password protected directory (with basick auth). how to make such a task ?
View Replies
View Related
the hosting control panel gives the ability ot make a login for the directory you want to secure , but i want to make a logout for this login , how could this be done ?
View Replies
View Related
I need to look up what user name was used to login to a protected directory using ASP.
I don't want to create a login page, etc. It shouldn't be necessary. Only employees who already have user accounts need to log in to the webapp and the protected directory login box is all the security I need. I just need to be able to access the username that they used in my application. Code:
View Replies
View Related
I have a folder that is protected, the users login with their unique
username and password, these are held in a text file.
Is this information logged in a way that I can use the login name as a
variable for use on my page, such as if I login as Jon the page can display
"Logged in: Jon"
View Replies
View Related