asp

Generate a normal distribution graph using C#

Hi, I need to generate a Gaussian graph (bell curve) using a given average and standard deviation. How can this be completed in C#? If it can be completed in Classic ASP - even better :) Thanks, Roman ...

force users to logout

Currently I have a client and admin webpage. There are multiple users who will login to the client page. While in admin page, when I restored the database inside the admin page, I need to logout all the users who are currently login to the client page. Any ideas how it should be done? My current language using is classic ASP. If it can b...

AutoComplete field and IE

My web page does not have the autocomplete attribute that would tell browsers not to autocomplete the field. In spite of not having this attribute, IE 8 or Safari (not sure on other browsers) does not autocomplete the page. Autocomplete does work on some sites (such as Gmail) so I am assuming that the browser setting is not causing it? ...

Image from dataset in ASP gridview

I receive a certain image name in a boundfield (i have two images in the same folder) and it comes from testing in the codebehind and binding a datatable into this gridview. example: it comes as "image1.jpg" or "image2.jpg" I'd like this text not to be displayed, instead, i want these images that are in /folder1/folder2 of my solutio...

ASP - Printing the entire request contents

I'm debugging some ASP code and I need to get a quick printout of the current Request datastructure, which I believe is an array of key/value pairs. I see that Request.Form("key") is the method for extracting individual elements. Any tips on printing out the entire thing? Thanks ...

ASP.NET [Horizontal scroll fro GridView]

how to make an horizontal scroll for my large GridView ? ...exquestion here : http://stackoverflow.com/questions/2091684/asp-net-fix-gridview-or-detailview ...

Capture ASP output for monitoring

How do I Capture ASP.NET output and then store it as temp memory so that I can use them in an application to do comparison. example. there's this site which has ASP output. Sorry I do not have server access, what I can do is view the output. The site by the way is a monitor for all users logged in and in which ever channel. output e....

Response.Write or plain ol' HTML

Hi there! What is better coding practice, with speed in mind (Classic ASP): sPg=sPg& "<select id=""actions"" onchange=""emact(this.value)"">" sPg=sPg& "<option value=""""></option>" sPg=sPg& "<option value=""read"">read</option>" sPg=sPg& "<option value=""unread"">unread</option>" sPg=sPg& "<option value=""spam"">spam</option>" sPg=sPg...

Problem with update query in ASP and MS Access

The following code is running but the update statement is not working. It is not updating the table value inside the msaccess database. Is there files that which we have to include to run the database in ASP on the server? <% dim strConn dim strSQL dim numTemp Set strConn = Server.CreateObject("ADODB.Connection") strConn.open "PROVIDE...

What is the maximum limit for a dropdown box values in classic asp?

Hi, In my application I am pupulating the dropdown box fatching data from database. Problem: The page response time is very high if the dropdown value is increased. Is there any Maximum limit for dropdown box in ASP? or do we need to populate it some other way? Please advice. Thanks Suman ...

ASP Web App Timing Out Erratically

I am going to be working on an ASP web application for a client. They are having problems with sessions timing out after periods of time ranging from 5 minutes to 4 hours after logging in. Is there any known issues I should check to try to resolve this problem? ...

ASP check request method

How do i check if my form has been submitted in classic ASP? ...

Sqlite database in ASP environment

Does perform well an ASP website with a SQLite database? ...

Redirect from ASP to ASP.Net Session

I am redirecting from a classic ASP page to an ASP.Net page on a different webserver. The landing aspx page seems to start a new session after postback i.e. my session variables which are set when the page is first hit after the redirect, are being reset after a button on the page is clicked. How do I work around this? Thanks in advance....

What is the Difference between PHP and ASP?

ASP is a Compiled Language or isnt it? sure it is. PHP is a Interpreted Language. I also developed once an asp app with the VS 2008 IDE. But there is a Big difference between ASP and PHP. What are the Differences? ...

Why Error: "[ODBC Driver Manager] Data source name not found..."? (works fine on dev environment)

I'm encountering problems in my ASP page. This is a login page which checks the user's credentials to the database before it allows access to the main page. I created a debugger page to find out what's the error details and this is the error message: Microsoft][ODBC Driver Manager] Data source name not found and no default driver speci...

Grouping date periods (by number of days) but exclude the weekends?

I have a table with start and end dates in. My goal is to have a table that has grouped these dates into how many days the period spans. I thought I had the solution with a simple SQL statement (MS SQL Server 2005) but I want to exclude weekends. SELECT DATEDIFF(D, StartDate, EndDate)+1 AS Days, COUNT(ID) as Count FROM myDateTable GRO...

Grouping an array in classic asp?

I have an array in ASP that looks like this: 3,5,7,7,3,2,3 What I want to do is group them together with a count so I would have: Number Count 2 1 3 3 5 1 7 2 Is this possible? If so how? ...

how can i know what is the format code of parameter that comes to my page?

how can i know what is the format code of parameter that comes to my page? whorking with ASP some of the character that i see cant found in the DB (access) i want to know the unicode of the value ...

Web applications: Development to Production

Here is my company's current process for moving changes from our development server to our production server: Files that need updated are brought down from production, to ensure no changes were made in production only (no it shouldn't happen; but yes, it does happen). Old development files are given a ~ prefix as a sort of "backup". De...