I have registered a domain that forwards every hit to my home PC. I have configured Default Web site to show one Web from my PC. So when people navigate to www.mydomain.com they see that site. What if I want to how more then one web site? Is there a way of doing that?
I can't afford M$ CMS. What I am after used to be called Content Deployment in Site Server 3.0.Does anyone know of any other software that will let me define a series of hosts and then FTP to all of them at once?How do you guys update your clusters?
The VIRTUALSITE name is really the virtual directory created under IIS.
I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.
This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.
Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?
I am working with IIS 5.0 and would like use the property CentralBinaryLoggingEnabled which if set true will create one single binary log file in place of a separate log file for multiple websites.
This property is available in IIS 6.0. I would like to know if there is a patch available for IIS 5.0 which will create this property in IIS 5.0.
I'm looking for the best software out there that can create simple websites for clients. Basically, a client pays a small monthly fee and they're given a website where they can display whatever they'd like. Something sorta like Geocities in a way. I've searched aspin.com but I couldn't find what I was looking for. Can anyone point me in the right direction? I'd rather buy something already made then to start from scratch and develop my own.
i first used this forum to find code for coldfusion, but now want to learn ASP. are there any websites out there that show you the code for various things such as counters, guestbooks, database stuff, etc.etc.
If I am updating a list of records for a user on an asp page, is there a way to hold the page updating, even if they refresh the page, until I have updated all the records.
i.e. rather than them seeing records change 1 at a time if they refreshed their page, all the records would update together in 1 go, a bit like a batch update ?
The source is from a MySQL db which is fed from an MS Access front end.
This could be an MS Access issue, in which case I will post there instead.
I'm trying to update an Access db: if link is ok, then status=up else status=down, in a form with 3 fields: names, link, status:
<% Server.ScriptTimeout = 1500 %>
<% Session.timeout = 1 If IsObject(Session("press_conn")) Then Set conn = Session("press_conn") Else Set conn = Server.CreateObject("ADODB.Connection") conn.open "press","","" Set Session("press_conn") = conn End If
sql = "SELECT names, status, link from websites order by names" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open sql, conn, 3, 3 rs.MoveFirst
Dim GotothisURL
Do Until rs.EOF GotothisURL = rs("link") Set GetConnection = CreateObject("Microsoft.XMLHTTP") GetConnection.Open "get", GotothisURL, False on error resume next GetConnection.Send ResponsePage = GetConnection.responseText
if ResponsePage="" then sql = "UPDATE (websites) set status=(offline) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'" conn.Execute(sql) else sql = "UPDATE (websites) set status=(online) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'" conn.Execute(sql) end if
Set GetConnection = Nothing Set ResponsePage = Nothing
rs.MoveNext
Loop
conn.close set conn = nothing rs.close set rs = nothing %>
I get no errors at all. The path to db is ok.
The script acts very very strange. On the first run, it seems that everything is ok, but the page freezes on half [the blue bar on bottom of browser]. If I'll stop the script, on the second run, the page loads very quick, but nothing happens.
I'd like to be able to list IIS websites and information in a web page (presumably using ADSI). Similar to the list you get in the MMC plug-in. Does anyone have a simple script I could start with? I'm only interested in reading info at the moment.
I need to offer a questionaire to approximately every 10th user of my website when then are leaving.
My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.
I am going to construct a housing search website ... similar to www.mls.ca ... is there anyway I can populate the data(s) stores in their database? So when my user search for one kind of house, my website will return the data from the MLS database? Or there is similar way to get data from public websites?
Also, if a user search "sport" in my search text box, it will returns all the related links ... just like those search engine ... how can I acheive that? Or I need to pay or register to get the function?
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews headline content
tblDatabank filename description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.
based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.
I have a database being updated by a text file every ten minutes, so in the code that is why the column names are messed up.
My problem is I get all the sums, and counts all working. What I need to do is at the end of it have a sum for for all the columns returned, i.e. col002, I need all the sums in that column added up for a total at the bottom. The following code works but when I try to do column totals I can't get it to work, Code:
I need to connect to 2 different databases in ASP and execute two different queries. Please let me know how to proceed. I understand that ADODB.Command option can connect to only one database at a time.
Is there a way of using multiple recordsets with the same connection?
My recordset at the moment inserts data into the database, and i want to have a drop down box with data already within the database, as well as the insert recordset, is there a way of doing this?
This is my code, for some reason, when I use this exact code it doesn't update my database, but if I use the next section of code it does. Anybody knows why that when I use two different "Insert" in If Then End If, it doesn't work? Oh and I did try the "If PID = 105 OR 151 Then" alone and it works well. Code:
I have a replace function <%= Replace(arData(0,i), "_", " ")%> that works fine to replace the _ with a space, but I'd also like it to look for, and replace one word with another in the same string (E,G replace the word "Right" with "Wrong"). The code is located in a table that is displaying the results of a database search.
I'm having problems with a) finding out if it's possible to do it this way, and b) what the syntax should be. I've tried all manner of combinations, but no luck. Any ideas?
I need script or a link to a tutorial that will allow me to do the following.
User enters username and password site checks the username and password against database1 if the user entered the correct username and password the page shows records from database2 if the user enterend incorrect username or password then nothing happens.
I am new to this forum and really looking forward to being involved in the community.
i am trying to do Multiple Posting to different Server when User post the Order form. one to windows server second to linux server third to its own server
how to have multiple language asp pages? For example, you have a database driven website that you want customers around the world to use. How do you setup the asp pages so that it is easy to change the text based on where the user is connecting from?
I need to have some dynamically created ASP, with mutliple word documents and PDFs all connected so that it can be printed with a single print command. My two ideas are: having the PDF and DOC files act like images and print entire thing as a web page. -Or- Creating a single PDF file from the concatenation of the asp results and the doc and pdf files.
I am using asp codes to connect to my access database. But i have a query in mind. Will my database still work if more than 1 user is logon to edit the database records?
How to perform multiple search using asp in website, the search from local adn remote database. the local search is working properly, but the remote search stil kinda stuck with it... my local search script(work well):
dim Connection set Connection = server.createobject("ADODB.Connection") Connection.open "Provider=SQLOLEDB;DATA SOURCE=PROTOS;UID=smc;PWD=project;DATABASE=Virtual-Observatory"
how to attach the remote database search for the same website??
I have this search and results system on one page.... I'd like it where the results that come up from the search are editable and can be updated. I can't seem to figure out a working way to update more than one field at a time.anyone have a good piece of code for multiple edits
I have some code I am working on. One function reads a file using fso, then I have multiple functions using the string read from the file. Each function splits the lines up and will return one value. Is there a better way? Is handling this many array which are basically the same going to cause some server distress
We have a Web page that at load time will execute and build: a DHTML Menu/Data Driven, an Iframe with Detail Data, an Iframe to display Progress Information and another iframe with totals information of the previous iframe with Detail Data. Everything works fine except during the initial load. If we click on any place of the page during the above loading schema, the process stops and we end-up with Iframes with incomplete information and empty calculations. We need to refresh and avoid using the mouse and keyboard during the load time to get a decent start.Is anyone familiar with this behavior? Any ideas to solve this issue without disable the mouse?