In some asp tutorials, like this, i observe the following pattern:
Application.Lock
'do some things with the application object
Application.Unlock
However, since web pages can have multiple instances, there is an obvious concurrency problem. So my questions are the following:
What if one page tries to lock while the obje...
PHP has a number of opcode caches, which as i understand it are scripts that handle the caching aspects of an application. Is there something similar for classic asp, especially something that does not require component installation?
Regarding the IIS caching behaviour, it seems from reading here that the behaviour is relevant to some s...
hi,
After being through numerous forums available on the net for last 5 days, I am still not able to completely track down the browser close event. My requirement is to generate a popup message, when user tries to close the browser.
I have called my javascript function on body 'onbeforeunload' event. And I have hardcoded the conditions...
I have a webpage (say www.xyz.com/a.asp) .. I am having an iframe in this page which loads a page from a different website (www.abc.com/b.asp)... This b.asp asks few questions to the user and the results are posted to c.asp in my website (www.xyz.com/c.asp). This page (www.xyz.com/c.asp) gets loaded in the iframe. Is there any way so tha...
I'm running into a problem setting up my development environment. I've been working on ColdFusion and .NET applications up until recently I haven't needed to touch IIS. Now, I have to set up a classic ASP application for some one-off work.
I added a virtual directory in IIS and pointed it at the actual codebase on my local machine. I th...
Hi all,
I have an plain-old asp web site that makes a call to a method in a dll written in VB 6. This method sets an error code in the VB Err Object if something goes wrong. Now I want to access that error code and description set in the Err object from a javascript (where I do the call to the dll method). First: is it possible? Second...
I have a .asp application where image files (.PDF) are stored in a directory (fed by a copier/scanner). The created filenames are stored in a database table, When a query is launched from the web page a link to the file is created. When clicked the image should be displayed.
This functionality works 100% in Internet Explorer. No suck lu...
I want to post an xml document to an asp page from an asp.net page. If I use WebRequest with content/type text/xml the document never gets to the asp page. How can I do this ?
...
what's the asp equivalent to php's .= when concatenating strings?? oh and i'm referring to asp NOT asp.net.
argh...i meant to specify that i'm in a for loop. so i want to know the equivalent for .= (in php) not standard concatenation.
example below:
For Each Item In Request.Form
If (Item = "service") then
For x=1 To Reque...
Hello all.
I am working with Crystal Reports and MS SQL Server.
I need to remap the crystal report to point to a different database on the same SQL Server. Is there an automated way of doing this, or do I have to remap for every single report? I am currently doing this by adding a new data connection, and then updating the stored proced...
I have an ASP page which will fetch records from a SQL server DB table. The table "order_master" has a field called order_date. I want to frame a select query to fetch order date > a date entered by user(ex : 07/01/2008)
I tried with convert and cast, but both are not working. The sample data in order_date column is 4/10/2008 8:27:41 PM...
So - I have a checkbox
<asp:CheckBox ID="chkOrder" runat="server" Visible='<%#IsCheckBoxVisible() %>'
Checked="false"
OnCheckedChanged="chkOrder_CheckedChanged" AutoPostBack="true"
EnableViewState="false"></asp:CheckBox>
the one above. Now, the checkbox is in a gridview and on databound - for all the rows in the gridv...
I have an ASP.NET 2.0 web app and part of the structure still has some legacy ASP under the folder /forum/. I haven recently moved my dev environment to a new machine and am now getting:
Path '/forum/default.asp' is forbidden
when trying to open a page with a .asp extension under the Cassini environment. Any ideas what could be causing...
For sure this question will not help anyone in a heavy way, but it can be useful in somehow. In the beginning, all Orkut pages had the extension *.aspx, but now all pages are "masqueraded" under a "Main#page.aspx".
Sorry if this "Main#" is a ASP feature, but it doesnt look like one to me. Does anyone know the language Orkut was coded? (...
I have a legacy ASP application written in JScript. At the moment it uses its own database tables for user accounts and authentication. The customer data for this app is being moved into Microsoft Dynamics CRM 4.0, and I need to modify the ASP site's authentication to look up user credentials in Dynamics CRM instead.
Here's the possible...
Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu.
Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network!
I checked, all image paths are writ...
I have a gridview containing some data from db, and after a check I want to see a small cross/tick image in each row, due to the result of the check.How can I change the image url dynamically?
...
I got this error
Response object error 'ASP 0156 : 80004005'
Header Error
/ordermgmt/updateorderstatus.asp, line 1390
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
I put Response.Buffer=true;
Stilll it is showing error.
I have put reponse,Redir...
I am trying to find out how to upload a file from a web user to a server using an ASP page. The displayed page has an Input tag of type "File" like this:
<input type="file" name="uploadfile">
And a submit button that passes the Form info to another .ASP page. This page must take the path it gets from the Input control and use it to ...
(ASP with c#)
-Can you disable an ASP validation on an event click before it postbacks and performs the validation?
I would like to load some details into a bunch of text-boxes with field validators on them, However I need to Disable the validation of these text-boxes in order to actually fill them as the validation seems to occur at p...