i have recently writing some asp pages which i would now like to concatenate all the pages into three horizontal frames all in one page.
i would like to display each page as each link is clicked into the same index page. please if anyone could advice on a solution or code page on how to dispaly frame2,frame3,frame4 in the frame 1 page.
I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect each page from unauthorized access.
When I open any of the pages in the frameset individually, I am presented with the proper login page as expected, however if I open them thru the frameset page, redirection to my login page does not occur. Code:
I have my entire ASP-driven site in a one-frame frameset to preserve a static URL in a browser's address bar. I also have a customized 404 page to redirect a visitor to the top, default frameset.
The redirect works, but the called, nonexistent URL remains in the browser's address bar. Is there any way to refresh a browser's address in the address bar to that of the site's default, frameset address? I tried using a window.location-type javascript, but the redirects get stuck in a perpetual loop.
I use a website in asp for which I have to type a username and password everytime I want to login. On the form are two fields for typing the username and password and one button LOGIN. I want to create an standard url for the website which includes my username and password so I don't have to type it in everytime.
I looked at the page source but I can't find the right string. I thought maybe http://.........aspx?username=me&password=it
I have 2 developper machine running visual studio 2003 and Windows 2000. On the first machine (Machine A) I may create a new asp project without problem. On the second (Machine B) I cannot create a new project.Visual Studo create the project but not the initial files and freezes.
But I may create a new project from Machine A using the web server of machine B.I have checked the access rights of both servers, the access rights on directory wwwroot and inetpub.Everything seems the same.
Has anyone seen or know if anyone has done this? I think that ASP would be a great tool to do this with but I am curious if anyone has tried it and found it to be too hard or too burdensome to follow through with?
I'm running IIS5 on a Win2K server, and I want to have an ASP page that creates new users. I have some simple code to test this, but am getting a "500" error when I run it. The ASP looks like:
<%
strDomain ="Foo.com" strUser ="Foo1"
' Create new user with password Set oDomain = GetObject("WinNT://" & strDomain) Set oUser = oDomain.Create ("User", strUser) oUser.SetPassword = "password" oUser.SetInfo %>
Just for this testing, I've added IUSR_machinename to the Administrators group, but am still getting the 500 error.
I want to create a web page for my friends.(I have a subdomain and my server supports ASP scripts) It will contain a small basic guestbook.It must write the entries to a text file on the server.And i must be able to view the guestbook.
I am trying to create a menu with multiple tiers. I want to use the one menu as an include file throughout the site. Depending on what page you are on, I want the 2nd and third tiers to show up.
The rest just show the tier 1 links. I'm pretty sure this can be done in CSS, but the problem is that with a very big menu, I'd rather not have to load up the entire menu when it all won't be showing.
There for I figured I could create it in ASP. I could set some sort of parameter in the page so the menu include file would know what page I'm on, and then would only show and load the 2nd and 3rd tiers of that section. Is this possible? Code:
How can I simply save some data into a flat file (.txt) ? I've some data available and if the user clicks on a button it will save that data into the flat file... The user also need to define the directory (as in VB the common dialog box)...
I have created an asp page that pulls data from SQL server and displays on webpage in the form of Table and Chart.
I use OWC to generate Chart. It work find on my computer with Ms office 2000 installed, but when I upload my the page to my webserver, it doesn't work with the following error message:
006~ASP 0177~Server.CreateObject Failed~Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Does anyone know how to solve this problem?
P.S. On the production server, Office Web Component had already been installed. WSCript.CreateObject("OWC.Chart") works fine in my colleage's vbscript file.
tell me with some examples to how to use our own threads in asp pages. I tried to do it in usual way how we are suppose to use it in console and windows application. but the same thing will fail in asp pages. it give "nullreference" exception from unknown module.
I have Windows 2000 and recently included Internet Information Services. I then created a simple ASP file and clicked on it. The Open With dialog appears asking me to select a program. I copied an existing ASP file, test.ASP from another computer where it runs successfully. When I copied it to my computer it changed to test.ASP auto file. The other computer runs Windows XP. I am not sure is this is the issue. I verified the IIS is up and running on my computer. Is there anything that can be done to correct this?
I am using ASP code to create a Word document on the server and all is working except for one thing: I need to be able to insert page breaks. My existing style formatting for page breaks does not seem to insert a page break into the Word DOC. Suggestions? Code:
I've captured some data from a form and stored it in an SQL server table. The form is passed to an action script which builds the sql statement and writes the data to the db.
I want to write a URL (http://www.mysite.com/sites/home.asp) and store the userID at the end of the URL (http://www.mysite.com/sites/home.asp?userID=22) so when I call the URL from a web page it goes to that users page.
I would like to create a login into my very simple web site. I was hoping if somebody could give me some links for good websites or if somebody has a good example that i can work on. I also want to be able to allow users to join.
How would you go about creating a link on a desktop through an asp page. You know the old trick click here to bookmark this page?. I need to take that a step further, i need a link that when clicked it creates a link on the desktop to that page.
I was wondering if it is possible to create an sql file using asp to back up a tables contents at all?basically I want to make a copy of each table we have on the server into an SQL file so we can move it elsewhere, the server techs want to charge us for the backup copy so I want to get around paying if possible.