Stop Dreamweaver
How do you stop Dreamweaver from displaying server side includes in the Design View Window? I use a include to provide my asp pages with a general layout. My machine used to ignore the include statements when I'm in Dreamweaver deign view, but today it just decided to show them. It makes it hard to work on my programs.
View Replies
ADVERTISEMENT
How can i detect if a database already has a primary key value that i want to insert. ie. i want to insert 5 into a database that already has a primary key set to 5.
View Replies
View Related
We have many forms on our site that users can fill out and ask questions, request information etc. but somehow, we receive a lot of junk mails (more than two hundreds) within two weeks through these forms. I don't know hot to stop these junk emails.
View Replies
View Related
I want to make a simple simple asp page. All I want is when the page loads
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop.
The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose. Code:
View Replies
View Related
I dont want to start the sessions when my asp page is run....how do I do that...can I add something at the start of the page which will not enable the session
View Replies
View Related
I´m programming in ASP. How can I stopp the loop?
View Replies
View Related
how can i stop execution. in betweeen a few lines of code. i dont want the complete execution of code and in middle i want to stop?
View Replies
View Related
can a website be secure and not have the https in the begining of the url?
is this true : URL always secure
is this true : URL never secure .
View Replies
View Related
I am using two asp pages that have large (up to 1280X1024) background images. The image is the same on both pages, but when I go from one page to another it reloads the image each time and flickers for a second when loading because the file is so large. Is there a nifty way to keep the background image the same across two pages without reloading.
View Replies
View Related
How do you do the following?
if(true)
response.write "There was a problem."
***STOP HERE***
more code
more code
more code
View Replies
View Related
I have a windows small business server 2003 running IIS 6 to serve asp pages and streaming movie over internet.
Everything was working fine but suddenly the server stop respond to ANY asp request but no problem with html for several hours last night. It serve asp again for awhile
but it stop serving again this morning.
View Replies
View Related
i have a string and i would like to run through this string to find a "."(fullstop), and once found put a break in so that i could continue the rest of the string on the next line.
View Replies
View Related
How can I stop some one from trying to post my form from a remote site.
I am getting some one cycling through usernames trying fpr passwords on a
web site.
View Replies
View Related
Does anybody have ideas how to prevent passwords guessing. I mean I want to define that same person/robot try to guess password and to block it after 3 wrong attempts.
View Replies
View Related
I have just got back into ASP development after a years break and am playing catchup. I am developing a simple page with combo boxes on it, so that when it is processed it searches a database for all records between the chosen entries in the combo boxes.
However I am also trying to stop the page from returning errors when a user clicks submit without choosing any entries from the combo boxes. I am trying to get the page to just re-display itself with a simple error message on the page informing the user that they have to choose an option from both combo boxes.
View Replies
View Related
Is there a way in asp i can avoid a person pressing f5 or doing a refresh?
View Replies
View Related
I have an asp page which when loads, sends notification emails and adds data to a Mysql database.
What i want to stop happening is people refreshing the page or when navigating back to the page using the browser, this script is run again.
View Replies
View Related
I have a simple Form full of Textboxes.The Textboxes get filled from the Database, and the user can edit and click Update to update the info in the Database.My problem is that I don't know how to stop 2 users from messing each other up.(Just to clarify, User 1 gets info, User 2 gets info, User 1 clicks update and then User 2 clicks Update, obviously, all of the User 1's changes got disregarded).
View Replies
View Related
I have a page that pulls info from a SQL DB and displays it for the user. Everything is fine now 'cos I only have ten entries in my DB. When finished, there will thousands of records and what I see is an endless scroll or page down for the user. But what I want is to display a MAX of 15 records per page and have the others displayed on following pages.
So how do I get my pages to continue on page 2, 3, X XXX and have it so that clicking on any of the pages jumps to the corresponding page. You can actually see what I am looking for here at sitepoint. In their own case, they have it displayed within page ranges.
View Replies
View Related
I am trying to stop and start the ftp service from an asp page using the niuser account.
my code is simple: shell.run "net start msftpsvc",0,true. ASP page returns no errors but nothing happens. code works in .vbs but not from the webserver (IIS6).Can someone tell me how to do this? I would also like to edit the registry if i can.
View Replies
View Related
I have Windows 2000 Server on an Intel machine. Periodically IIS returns an HTTP 500 error when anybody clicks on an asp script. Regular HTML pages are displayed without a problem. The problem gets corrected whenever I reboot the server.
View Replies
View Related
I can't get the following code to display only two decimal places.
-------------------
ProductPrice.Text = String.Format("{0:c}", ProductDetail.Price)
--------------------
Can someone tell me how i can only show two decimal places and also how i can just show rounded to an integer.
View Replies
View Related
I am creating a news page for a fun website just to learn, it has a simple html form that lets me post new news items to a MSSQL database.
The thing I am trying to do now is have the loop only run about 5 times, so that it displays only the last 5 news items from the database, I will then create an archive page which will display them all.
I have a book that I read and I found the for..next statement and I t would work nicely from what I am reading,
View Replies
View Related
I have an Active Server Page connected to an MS Access database. I use this page to submit information to the database. Among the form fields is a start time and stop time field.
By setting the value of start time to <%=Time()%>, I'm able to collect the start time automatically when the new form is opened. I would also like to collect the stop time by clicking the submit button. Code:
View Replies
View Related
Is there a way to stop an SQL statement once it has been sent to Oracle?
Now I always thought the answer was no, but I have started using the free
(and very good) SQLTools - in which you can start an SQL statement, but you
can also cancel it and SQLTools then stops the execution of the sql on the
oracle box (it does not leave a duff ora process or anything).
I thought this might be useful if we have long running queries on web pages
(due to DB problems for example) and we could have a timeout which will do a
controlled shutdown of the query and the db connection, rather than
server.timeout which leaves an active ora connection - leave too many of
these and you could run out of handles r run up huge CPU-gobbing processes
etc...
View Replies
View Related
I require a program that will allow a user to start the timer when he hits a button and stop the timer when he hits another button. Is there anyway where i can get the difference in Time:
Start time=12:15:54
Stop Time=12:20:12
Difference in time is:00:04:18
View Replies
View Related
is it possible to somehow "jump out of" an ASP page that is executed from
another page via the Server.Execute method?
on the page being executed i have several instances where i need to stop the
execution and immediately shoot back to the calling page without running
through the rest of the code on the executed page. Code:
View Replies
View Related
i have write a simple asp application, which is used to send batch email. the process will running for few hour, it depend on how much email needed to send. however i have a problem in ...........i can't find a way to stop this sending process until it send out
all of the email (or let say unless i reset the iis by in cmd typing iisreset).
i also have try different method such as before it need to send each mail it need to check the session, at that time (during send) user can press a button on the pop up page that change the session value. however this method is not work, it need to wait until the sending process finish.
View Replies
View Related
I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case
some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?
View Replies
View Related
Is there a way to let user stop an asp script that's running? May be by pressing the STOP button on the browser or something.
View Replies
View Related
I have a few forms and find that people are intering all sorts of information into them that we dont want. Is there a way to stop people from entering things like ()*&^%$#@!+_=><"':; and so in into the forms.
A form example on the site is basic. Something like this.
<form name="form1" method="post" action="">
<input type="text" name="textfield">
</form>
View Replies
View Related
This is a feature that is really going on my nerves as I've been writing SOAP Web services using ASP and SOAP toolkit 3.0. My web services ASP scripts send XML data to the client application.
When I'm debugging under Visual Sudio, IIS prefixes *all* streams that go to the client with <!-- METADATA TYPE="ASP_DEBUG_INFO">. I'm using XMLHTTP in some cases to receive data. Neither XMLHTTP v3 nor v4 seem to accept this as valid XML. I must instantiate an XML document and load stripped data instead. So isn't there any way for IIS to stop sending this METADATA?
View Replies
View Related
I have designed a form which process database Insert, edit and Delete(datagrid). I input userid,password and privilege in textboxes which has validation controls to verify data keyed in. And press the button to perform insert operation. Upto here is fine.
I want to perform edit or delete operations. I put datagrid for that one. After clicking the Update button for the row, the validation controls are firing again. I need to input some temporary data in the form fields to perform actual update operation. How can i stop firing validation controls at this stage?
View Replies
View Related