ASP Programming
ASP Programming forum discussing Active Server Pages coding techniques and problem solving methods. Use VBScript or Jscript to make dynamic web applications.
hidden form action
Is there a way with ASP or Java to hide the form action part of a form? I have someone that has found the location of a script by looking at the source of one of my forms. They run some type of script that trys to post bogus info from 6:0...
answer(3) view(849) status(

)
Asp
I am learning asp,
Is there a different between ASP and Apache ASP?
I am trying to transfer data with flash mx and my server support only apache asp, does it mean that I should change the syntax or....
what would you do?
Thank you in ...
answer(2) view(431) status(

)
restart apache with asp
is it possible to restart apache from asp?
the asp, of course, is running on the apache. it seems impossible to me, but.....of course, that is exactly what i am supposed to do.
my asp script edits the config files, and i want the chan...
answer(3) view(942) status(

)
HTML-injection
Anyone got some good methods for preventing html-injection in ASP?
Freddy....
answer(1) view(595) status(

)
site navigation
I am looking for opinions on this question. I have a huge site built for a large corporation. It has hundreds and hundreds of pages. I am looking for an easy way to implement a navigation scheme that will be easy to maintain. I don't wa...
answer(2) view(959) status(

)
answer(1) view(509) status(

)
Help: Separating search results; 1|2|3| and so on
I'm new at ASP and I'm trying to get my search results page to divide up the results so there won't be a lot listed on just one page. This is the only thing I can't figure out. I've tried samples of other code with no luck. Here is my code:...
answer(1) view(460) status(

)
Redirect Response.write ouput
I've got a function that I wrote sometime ago that outputs a lot of content via response.write's. At this time I'd like to email everything that the function writes via response.write's. So I was wondering if there is anyway to redirect the...
answer(1) view(543) status(

)
Should be 2 simple questions, variables and random
1) Does ASP have functionality to assign a large block of HTML to a variable? What I am doing is emailing large reports in the body of an email. I am trying to set it up so that all i have to do is assign the body of the email to a variabl...
answer(2) view(803) status(

)
Header for ASP
Here's my situation. I'm creating a bunch of ASP pages and want a commom header to be included in all. In this header, I want the name of the page included. This is the cheap way that I'm currently doing it:
<!--#include file="...
answer(1) view(850) status(

)
Response.Redirect error "object required"
Hi
When I try to use the response.redirect or response.cookies I get an error saying "object required". I`ve tried to write response.buffer=true with no luck.
May this occur due to bad config og iis 5.0?
Freddy
answer(2) view(508) status(

)
using asp.net to connect to MS SQL
Hi,
I have MS SQL server 2000 setup on localhost, with system administrator username and password.
Ive been given some asp.net code by a 3rd party, i think it has C# sharp backend but that bit im not entirely sure.
Anyway, the asp ...
answer(0) view(784) status(

)
PDF in ASP.. again
can the adobe FDF toolkit be used to dynamically create a several page report using data from a recordset in ASP?
As far as i can see now, it is only useful for filling in form fields from user submitted data.
Another option we are expl...
answer(1) view(975) status(

)
How to change the value of asp:label dynamically?
hello
I got this .aspx page with no access to the source code.(apparently it was lost)
anyways. I have this form with a datagrid that access values from a database.
<TD align="left" width="293"><asp:dropd...
answer(0) view(194) status(

)
Recommended SQL Interfaces
I am writing some ASP pages to interface with an MS SQL database (on a Win2k box). Does anyone have any recommendations on any tools that I can use to connect to the database and manage tables (create, drop, insert, etc)?
Thanks,
Antho...
answer(10) view(617) status(

)
Help regarding date functions
Hi!!
I have some problem regarding the date functions. The problem I have is, I havea column in my SQL server database table by name request_generated_date of datetime datattype and the default value set to it the server date by using th...
answer(6) view(82) status(

)
Redirection based on query result...?
I have a quiz that writes the results to an Access db. When the user logs in, I want it to redirect them based on their score.
I want them to login and get directed to page 2.
Page 2 queries the db based on the user/pass.
If the ...
answer(2) view(679) status(

)
Keyword Search Problem
Hi guys,
I'm having a small problem with a keyword search not functioning correctly.
Here's the scenario .... I'm using ASP in DWMX, with Access 2000 and am simply using a multiple search page where the user can select various option...
answer(3) view(761) status(

)
Calling SQL Server SP From ASP
Here's my neat, clean call to a SQL Server stored procedure:
Code:
<%
Set Cmd = Server.CreateObject("ADODB.Command")
With Cmd
.ActiveConnection = "Provider=sqloledb;" & _
...
answer(1) view(974) status(

)
answer(3) view(348) status(

)
Userdocument with Parameter
Hi All.
I can call a user document with a paramer in the IE Address bar eg:
C:\Program Files\Microsoft Visual Studio\VB98\docMyDocument.vbd?Parameter
I can call the Userdocument using these lines of code in ASP:
Sub Window_OnLoad
...
answer(0) view(396) status(

)
array sorting
I need a array with x numbers (1 to x) mixed. Like this:
Using 4 numbers (1 to 4), i need:
array(1) = 3
array(2) = 2
array(3) = 4
array(4) = 1
This is random. I make this:
Code:
x = 4
randomize
array(1)=Int...
answer(2) view(52) status(

)
Need help with SQL Desktop engine
In my continuing quest to get a working ASP.net on my laptop, I came across a problem that I hope someone can help me with.
My laptop has WinXP Pro as the OS. I installed the following items from MS:
1) .NET framework Redist 1.1
2) ....
answer(0) view(247) status(

)
ASP with iHTML
I have seen PHP scripts that that define an iHTML template and then set an array that is used by the iHTML file to add code fragments. Does anyone know how an iHTML template can be used by ASP?
Thanks,
Anthony
answer(1) view(742) status(

)
Using dates between
Hi,
I have this query:
SELECT COUNT(appold.reason) AS Insufficient_Information
FROM appold
WHERE appold.reason LIKE 'Insufficient Information' AND (appold.`date out`
BETWEEN MMColParam1 AND MMColParam2)
MMColParam1 #01/01/200...
answer(0) view(872) status(

)
I am loosing data need help
Hi
I am using ASP as frontend ans MySQL as backend, mine is an intranet portal basically a calltracking system, the server is on NT 4.0 and client side is Windows XP.
I am storing atleast 1000 records a day. but i dont know why but i m l...
answer(16) view(600) status(

)
Does anyone have the beta of Visual Studio.net?
Apparently, Microsoft quit letting you have a trial copy of this some time ago. If anyone happens to have a copy of the old beta lying around from when they downloaded it, I'd love to get it, if possible.
Thanks.
Kork
answer(0) view(61) status(

)
grab info from other site
I'm trying to grab the info and put it on my site but i get this error
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/yahoo.asp, line 5
I think it has something missing with InetCtls.Inet
Code:
...
answer(2) view(829) status(

)
Drop down list
I want to save the value of the option in a cookies choosed by a user in a drop down list in ASP page. After OnChange"........ what should I write? TQ.
answer(1) view(214) status(

)
Running process after page loaded
Does anyone know if it is possible to run a process after page has loaded? reason being is i have an application that uploads a file, then zip's it up. These are 50 megs sometimes, so zipping the file can take some time. It is a two stage p...
answer(2) view(887) status(

)