Processing Scripts Stored In SQL Server
I've got page contant stored in an SQL database, some of these pages contain ASP code. But when I read the data out of the database and display it on the page it is displaying it "as-is", that is to say it's not processing the ASP code.
Is there a way to force the server to process what comes out of the database as if it were reading from a standard ASP file?
View Replies
ADVERTISEMENT
Is it possible to have server1 do a post to another page on server2?
Server2 page does it's thing and submit the results back to server1. All of
this is done without any reference in the url. I tried server.execute and
transfer but it only works on the same server.
Basically, I have a component on server2 inside my firewall. Server1 is for
public use. Users enter server1 and request what report they want. The
report should pass to server2 to instantiate an object and create a report
on the fly and store the pdf on server1. Users just have to view or
download it from server1. All this is done without the user knowing they
left server1.
This does work if I sent the server1 form action to server2. But then it's
on url now.
View Replies
View Related
I am running a rather large email list and want it to be processed directly on the server. I have been using ASPEmail from Persits, which has a SendToQueue function, but it still requires a lot of processing time in the browser, and often times out. Can anyone tell me the best way to do this?
View Replies
View Related
I've been using SSIs for a while now. I'm now using them in a menu system. I'm trying to use multiple SSIs, that is SSIs within SSIs, but I'm just wondering if this will slow the pages down, and put too much strain on the server. I'll try to illustrate what I'm doing.
This is a dropdown menu system. Rolling over Link1 will reveal Link1-a, Link1-b and Link1-c, and likewise with Link2 and Link3: Code:
View Replies
View Related
I am trying to download files from my database that I uploaded to it. I can download bmp, txt file but have not been able to d/l pdf files. I am able to d/l pdf files stored in the file system but not in the database. Any help would be great. Here is my code, I have hard coded the file to download for testing purposes.
Connect = "Provider=SQLOLEDB.1;Persist Security Info=False;User
ID=sa;Password=;Initial Catalog=INNB;Data Source=pompom"
Set db = Server.CreateObject("ADODB.Connection")
db.Open Connect....
View Replies
View Related
I've got a stored procedure which returns a select query on a linked server. This works fine if i call within SQL and Query Analyser but if i try and execue to return data to a ASP recordset i get the ridiculous
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize returned 0x80004005: The provider did not give any information about the error.].
Am i missing something really basic like a simple setting or is it just not possible.
Heres my ASP code: ...
View Replies
View Related
I'm trying to pass parameters from an ASP (VBScript) web page to a Stored Procedure in SQL Server. I know how to do the Stored procedure but it's passing the parameter from the web page that is stumping me.
View Replies
View Related
Does anyone have an idea how the showasp.asp file is able to direct the user to the demo_text.asp file without changing the URL. I'd like to see how this type of direction is being processed. Code:
View Replies
View Related
Do you guys know how to parse an input(text) to verify if it contains special characters. The input should accept numbers or letters only.
View Replies
View Related
I have no major programming background so am struggling to enable processing of forms on my website. Normally I just use Frontpage extensions or a freeware CGI script.
However, with this particular site, which is being hosted in Zimbabwe, the hosting company says they only support Java or VB enabled forms for processing. Does anyone have any idea where I can get a freeware script that will be easy enough for me to implement?
View Replies
View Related
I've written the following piece of code which is embedded in HTML. For some reason when the script is processed the last response.write statment is displayed before the information in the while loop. I can't seem to figure out why this is happenming.
Any ideas? Code:
View Replies
View Related
We have written a CMS, where we want user to upload a specific size of images. But if they do in some other sizes, the site becomes ugly. Is there any way in ASP to dynmically resize/compress/edit to display the image, in such a way that its not spoiling the look, even if its not very perfect.
View Replies
View Related
Anyone have any links and/or code samples demonstrating how this can be done: "Processing" progress bar/"in-between" page? Current procedure is that john doe clicks an item on a datagrid of mine and after however long, gets the info he wants.
What I want to do is have a page that pops up "in-between" the two pages. Something that says "Processing Request: Please Wait" or somesuch and have a progress bar or something as well would not have to be an accurate progress bar, per se.Anyone have any links/samples?
View Replies
View Related
How can we carry out image processing (similar to PHP GD Library) to manipulate Images using ASP. Can we call Windows API functions for the same thru ASP?
View Replies
View Related
I'm not sure if this is an HTML question or an ASP question, so I'm posting to both forums. I have a page that has two forms with two similar data sets. The action part of each form brings the user to a process page that updates some database information. I usually use Request.Form("variable"), but how can I determine which form was used? Can I request information from a particular form or should I use different variable names in each form?
View Replies
View Related
I've got two pages. The first page has a simple form that collects a value from the user and then posts this value to the second page that performs a query. This query has some loops in it that can sometimes force it to wait up to 15 seconds.
My question is how can I implement a "Processing Request..." message until the results are returned? Right now it just sits on the first page until the results are returned, THEN goes to the second (display) page. How do I call some sort of message to be displayed so it's a smoother transition and the user doesn't think the browser has stopped responding?
View Replies
View Related
I have a basic search feature in my website, but am having a problem executing one of the search criterias. If a user types a word with an apostrophe such as "what's" my ASP script throws an error.
a way out so that i would be able to return the search result for a word that includes the apostrophe.
View Replies
View Related
What's wrong with this code ? It worked fine untill I added the second part of it - the emails which is sent to me (Administer).. What have I done wrog ?? Code:
View Replies
View Related
I am working in ASP and Access database.
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
View Replies
View Related
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
View Replies
View Related
I've been using ASPImage and it frequently causes IIS to crash. Do any of you have a good alternative to suggest?
I need something to handle resizing and cropping.
View Replies
View Related
I am calling an asp page from my flash file & the asp code is as follows: Code:
View Replies
View Related
I have a form that submits to as asp processing page and that processing page inserts the info into a database and sends me an email. <form action="process.asp" method="post">there are a few pranksters out there that like to open the process.asp page directly and send blank info to my database and email. Is there a way to have this page only work when the form submits to it but not work if you just go directly to the page. I tried changing the permission to write only, but then you are asked for a password.
View Replies
View Related
I have a very unique problem, i am submitting from a pdf
form, when submitted goes to a asp page, which saves the
data and redirects to a different page after saving the
data. I am writing a message called 'Processing Form
please wait' in the page where it is saving the data and
doing a response.flush(and i also di response.buffer
=true) but still it seems like it never hits this page.
When the user submits the form, it just stays on the pdf
file for a good 10-15 seconds and redirects to the last
page(after saving data).
View Replies
View Related
I have a web page that takes anywhere between 1 and 5 minutes to process. The user inputs a date criteria and then I have to query against a 9 million record table for the results and do some calculations also.
Since I don't know how to display anything to the screen until the server has done it's part, I was wondering if anyone here would know. I just basically want the user to know that the page is processing and the results will be displayed once the processing is done. Any ideas?
View Replies
View Related
I have a very unique problem, i am submitting from a pdf
form, when submitted goes to a asp page, which saves the
data and redirects to a different page after saving the
data.
I am writing a message called 'Processing Form
please wait' in the page where it is saving the data and
doing a response.flush(and i also di response.buffer
=true) but still it seems like it never hits this page.
When the user submits the form, it just stays on the pdf
file for a good 10-15 seconds and redirects to the last
page(after saving data).
View Replies
View Related
I'm working on a new project that involves purchasing stuff online. But I don't really know where to start. I know you need to process the cards through a gateway, and that's about it.
What I want is a secure page where the customer enters their credit card info and hits submit. I don't want to process it manually, I want it all to be automatic. I'm not asking for help coding this, because I understand its very complicated, and I don't trust that I will be able to make it secure if I were to do it myself.
What I'm asking is, can anyone recommend a good ASP script for processing credit cards? (all cards will be from the UK, so visa, mastercard, maestro, switch, solo etc...).
I don't want a shopping portal, just the credit card processing bit is what I'm after (anything under $100 would be ideal)! And also, what is a good gateway to use in the UK? And any other info/tips you can give me would be great too!
View Replies
View Related
I'm just after abit of advice and recommendation about processing a form. Would it be advisable to set the form action to the page were the form currently sits and insert an if statement into the beginning of the page to check to see if submit = Yes?
Then saving the user inputs into sessions?
if all inputs meet the validation requirements then redirect the user to the next step?
Also is there a better way of trapping if a user enters numerical values and special characters than this? Code:
View Replies
View Related
I have a form that users enter details of a car (e.g make model , idnumber#) and then press save to save to the database they may want to order 10 cars with the same details exept the idnumber so to save the users entering in all 5 details I want to make it easier.
Should I have a list box and let the user add idnumber items from a text box and then pass this to my update asp and loop through + to save to the database or should I
save one record and then return back to the same form Note : I am having problems with this method as only part of the fields show when I hit the back button I just wondered what is the best method of doing this I am spoilt for choice and I also get problems.
View Replies
View Related
i have created a registration page containing a form than sends username password to an asp processing page. If the user exists it sends the user back to the registration page with server.transfer command otherwise it adds the new user to the database as expected.
Anyhow I now want to add an upload feature to the registration page (using pure-asp). The example I used says that the form Enctype property should be set to mulipart/form-data.
Now when I add a new user via the registration form, the processing page for some reason assumes the user is already registered (BUT IS NOT IN DATABASE) and the server.transfer code is executed ? sending the user back to the registration page.
View Replies
View Related
How can i set the Query Processing Time in my asp page.i am getting this error messages "Estimated query processing time 152 exceeds limit 30"
View Replies
View Related
I would like to be able upload a text file to be put in a database, from a file field control in a HTML Form. The file will contain the ID numbers of some users, separated by a line break. I would like to be able to insert all the numbers in a table in my database. I don't want to save the uploaded file in the server, just handle it as I have said. how can I do that using ASP 3.0?
View Replies
View Related
I want to know how online order processing implemented? For example, the online shopping mall such as Amazon receives order, it will communicate with credit card company, and it will add that order in queue, and warehouse can see it and pack it? Also, the library application also process the same way? when it has book request.
View Replies
View Related