Can anyone find the problem in this code?
<%
Set bc = Server.CreateObject("MSWC.BrowserType")
If bc.browser = "Netscape" AND bc.version >= "5.0" then Response.Redirect("defaultie.asp")
End if
If bc.browser = "Microsoft Internet...
I am writing a script to send e-mail to all people registered on our site. They are listed in an access database. I collect the data into an array. I am stuck beyond that.
Anybody have a script that will take the data and send the message to each one in the list?
Is there an asp command that will close the current window?
I don't want to click to close it, I just want it to close automatically when it reaches this point in the page.
I have a working site that authenticates users with a session variable. We just set up two new servers with W2K and moved the site to both. One works fine, the other loses the session variable and will not authenticate pages so they can be opened.
I used a response.write to test that the...
When users enter text with , or ' in a form they get an error message and the database does not update. Can I write a simple error handling routine that looks for the characters that are not allowed and replaces them with characters that will work?<br><br>Could anyone get me started...
I have a table from which I select all records and place the fields into an array using a do while loop.<br><br>To process them I need to know whether List(h,2) is blank.<br><br>I put the following code in:<br><br>If List(h,2)<>"" Then<br> Response.Write(List(h,0) & List(h,1) &...
I have a table with a column named comments.<br><br>I select a record and use RS("comments") to get the value of comments in that record.<br><br>The line<br>Response.Write(RS("comments")) returns the value in the table.<br><br>But if it put the...
I am writing a program to take information from teachers who use our Ed. web site. I also want them to be able to update their info when they return.<br><br>I use asp and an access database on an NT4.0 system.<br><br>For putting in new info:<br>Set RS = objConn.Execute("INSERT INTO Schools...
How do I make the cursor display as an image I send from my site when someone points at a link and as a different image from my site when they move off the link?
Is is possible to have a dimensioned variable name like Var(1), Var(2), ... so that you can go through a loop<br><%<br>For I= 1 to 5<br><br>Response.Write Var(I)<br><br>Next<br>%><br><br>This format is not working.
I am useing Persits.MailSender to send the contents of a form via e-mail, but the contents are scattered. Is there a simple way to format the e-mail contents like the formatting of the form?
I am writing a function that involves three pages. Selections are made on the first. A 2D array is created on the second page and the first record is filled.<br><br>Then it moves back to the first page for another selection and back to the second page. A second...
I have a site that uses one asp page to produce 1100 unique pages from text files and corresponding database info. I would like to develop a search function that would check the text files for the designated word and return a list of corresponding titles (as links) from a database table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.