<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session_OnStart
session("key") = 1
dim dirDictionaryf
set dirDictionary =server.CreateObject("Scripting.Dicti...
Is it possible (and easy) to write to and read from a simple .txt file, or another similar file using ASP? Any sample code appreciated!
I'm using IIS 5.x and Internet Explorer 4.x (and 5.5). I've noticed that, when I redirect a page with Response.Redirect(x), Request.ServerVariables("HTTP_REFERER") gets updated properly. How...
Here's my code ...
Set WshShell = Server.CreateObject("WScript.Shell")
CmdLine = "PING.exe -n 1 xx.xx.xxx.xxx"
result = WshShell.Run(CmdLine, 1, TRUE)
If result = 0 Then
Respon...
Dear Sir
I have a text File in which user name password and links to file are stored.I have not written these
all fields in one line.i have specified a line end mark like #@.I want My pro...
I'm trying to use the Server.MapPath() method to check for the existance of a certain file. Unfortunately the file that I'm searching for may have a comma in the filename ex <c:\test, test.tx...
Recive that error on following line, code worked yesterday.
If cInt(intPreviousTicketNumber) <> cInt(intTicketNumber) Then
Have the variable intPreviousTicketNumber = 0 at the beginning ...
A problem with DOM
The XML file:
<?xml version="1.0" ?>
- <LSSC>
- <ARTICLE>
<TITLE>This is the Title</TITLE>
<DATE>Monday, October 15, 2001</DATE>
<AUTHOR>This is the A...
Does anybody know how to create a dynamic directory tree structure that keeps the current structure in place while i try to blow up another group?
Example:
Option 1
Option 2
Option 3
...
Hi,
I'd like to add some values before my page has loaded on the server-side.
At the moment I have to put these values in hidden fields (e.g <%=value1%>) using a function I get the value...
OK I have a form that submits to a page we will call form_processor.asp. This form logs me and asp file log me into a website, once form_processor.asp logs me in it also assigns me a session v...
I need to expand the numbers of text boxes (and list boxes) according to user inputs (giving a new blank one when filling the current one, up to 100 text boxes).
But I don't want to refresh t...
We are in a situation where we must decide between writing ASP or JSP and using either IIS or Apache Web Server. Can we deploy ASP Pages in Apache? And conversely can we deploy JSP Pages in IIS?
I have written an ASP application. What happens is as soon as the user log in I am opening a New Window and I wanted to close the previous window (main window) default.asp, which is the Login ...
1. What is the way to redirect the page according t the url. For example we have two urls for example www.xyz.com and www.abc.com for which xyz redircts to xyz directory and abc redirects to ...
Getting the following error:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
----------------------------------------...
Hi,
I have a problem with my code:
function valueSplitterSecond(vals){
var numLength = vals.length;
var numHalf = (numLength /2);
var endOf = numLength - numHalf;
vals.substr(numHa...
Hello,
I have an ASP site that generates Excel reports. In fact I am using the "Excel.Application". I can generate the reports without any problems on my development machine. But one of the...
We usually use JMail so send email - though a client requires us to use CDONTS.
We are converting a JMail script into CDONTS - though despite much searching have been unable to find an equi...
Hi
I'm trying to upload a file using aspSmartUpload component. The code works fine locally but in the production server i get the following error.
Server object error 'ASP 0178 : 8007000...
Hi,
The following I am excuting the following code to access mail boxes on an exchange server. While this code works perfectly on the Personal Web Server on Win 98 it gives the following er...
How do i read a text file from client machine
and fill the form which has textboxes and date fields with the contents of the text file. Please advice me with the asp script.
suresh
How do I check, and how do I update it?
on WinXP
Access2000
Thanks
Please help me to find out byte transfer rate of an Internet Connection using Active server Pages.Any answer will be appreciated.
Hi,
I need to retrieve the value (The selected item - Not actual value) from the below combo box.
For an example: By Towns - when user select an item from combo box. I am able to retrieve...