all groups > inetserver asp general > august 2003
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
idle session
Posted by Iona at 8/31/2003 10:59:26 PM
Hi,
usually session expires in 20 minutes, well mine is and I want to redirect the user to an error page telling them that their session has expired and they need to login again. How do I code that and where should I put it? Thanks.
-----------------------------
This message is posted by http... more >>
Getting a block of data from with a text file
Posted by Rob at 8/31/2003 9:02:04 PM
Hi All,
Any ideas on how to read a txt file from asp and get it to grab one block of
information?
Sample txt file;
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
... more >>
access insert statement
Posted by middletree at 8/31/2003 3:33:36 PM
I am used to SQL Server, no Access, but this one thing has to be done in
Access. Can you tell me if this query will work, based on the syntax?
I am trying create a new row on the database, in one table, and the primary
key is an Autonumber called PersonalID. This is on the second page, which
... more >>
Obtain users IP address?
Posted by jason at 8/31/2003 3:10:54 PM
How does one capture the IP address of the user ....and...is there anything
'unique' you can do with this info besides knowing the ip number of his
domain/browser?
Thanks
Jason
... more >>
Double Insert :: best route?
Posted by jason at 8/31/2003 2:18:45 PM
If one is attempting to insert data into tables at the same time what is the
best way to do this. I could do it the way below - but is there any reason I
should not do it this way or perhaps follow a better route. The second
table is really an audit table to track changes made by the user
... more >>
Big favour needed to test site combos
Posted by Laphan at 8/30/2003 11:31:55 PM
Hi All
I know this is a big favour, but I knew I'd get good honest feedback from
you.
Basically users are saying that I'm having time out problems with a site of
mine, but I can't pin it down because it's OK when I look at it on my
dial-up.
I know there must be something wrong because of... more >>
Session objects and POSTed Form items
Posted by Brian Burgess at 8/30/2003 6:50:04 PM
Hi all,
Anyone know of any issues with setting the value of a Session object
to the value of a submitted form item via
'Session("mySessionObj")=Request.Form("myFrmElem")' ?
In my case the Session object gets set fine. But when the user links
to another page, the value of the session object... more >>
Image Processing in ASP
Posted by ARK at 8/30/2003 5:51:09 PM
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?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
UTF-8 and FSO
Posted by asim at 8/30/2003 5:28:18 PM
Hi
i have two files with korean characters
one is UTF-8 and other is unicode saved ..
if i try to ead unicode one .. it goes fine but throw garbage when i try to
read UTF-8 saved txt file with FSO ...
whats the difference .. y is it so
Plz Help, Thankx in advance
Qazi
... more >>
1 or many ASP files??
Posted by Laphan at 8/30/2003 5:18:55 PM
Hi All
Just trying to clear my cluttered mind and wondering if you can help.
IYHO, if I have say 10 different product categories that extract their data
from say 10 text files or an Access DB, is it more efficient to have an ASP
for each product category to query each section or 1 which par... more >>
Tab-delimited or CSV - Performance difference???
Posted by Laphan at 8/30/2003 5:12:50 PM
Hi All
Due to using a combo of OLEDB/ADO/ASP and JavaScript I was having trouble
reading in CSV data so I converted my client's web site to use tab-delimited
instead. Better for me, but client is adamant that their site's recent
timeout problems are since I converted to this tab format??
G... more >>
problem running aspx
Posted by Dave at 8/30/2003 4:23:47 PM
Anytime I try to load an aspx file in my browser from my
iis server or try to run the debugger in VS7 web project
to debug aspx, I get Server Application Error.
In the event log it says this:
The server failed to load application '/LM/W3SVC'. The
error was 'The specified metadata was not ... more >>
problem with CreateObject
Posted by jim Gigurtsis at 8/30/2003 3:32:30 AM
Does anybody know why the second statement below hangs the
call to the server. I am running Win2000 , SP4, IIS 5.0 on
a local machine. I recently applied SP4 and had to re-
install IIS. The code use to work okay under Sp3.
Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
TempGUID = ... more >>
Embedding images in e-mail?
Posted by Dean J. Garrett at 8/29/2003 5:14:30 PM
Hi,
I need to create HTML e-mail from an ASP program that includes embedded
images that go along with the e-mail, e.g. logos, product image, etc. Is
there a technique in HTML that people use to embed images? I know that when
I insert an image into an e-mail in Outlook, and I look at the HTML b... more >>
Keyword Parsing with ASP
Posted by ARK at 8/29/2003 5:12:24 PM
I am writing a search program in ASP(VBScript). The user can enter keywords
and press submit.
The user can separate the keywords by spaces and/or commas and key words may
contain plain words, single quoted strings (phrases), double quoted strings
(phrases).
For example:
Keywords:
Jack, Ji... more >>
File Exists
Posted by Gram at 8/29/2003 4:02:53 PM
Hello,
Can anyone tell me if its possible to check to see if a remote (text) file
exists, I'm currently using
If (fs.FileExists("http://www.example.com/myfile.txt"))=true Then
but this doesn't work
Any ideas?
Thanks in adance
Gram.
... more >>
Query Processing Time
Posted by John Peter at 8/29/2003 1:14:38 PM
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"
John
... more >>
Memory Usage By dllhost.exe Under IIS
Posted by David Swift at 8/29/2003 1:04:45 PM
Hello.
I'm new to the news group and new to IIS. I'm trying to
help a client deal with memory usage issues in IIS. My
client is running IIS 5.0 on a Win2K box and is running
ASP scripts that both talk to an Active X Control written
in C++ as well calls directly into the ADO layer.
It... more >>
"forced" download from ASP
Posted by Gary D. Rezek at 8/29/2003 1:00:44 PM
Hi All,
First of all I'm mostly an MS Access guy (and novice learning MSSQL guy) and put on this project because of personnel changes,
etc and because of db experience. I've only been doing this for about 2 months.
I need to know how to "force" a download (patch) from an ASP page.
I am developin... more >>
conditional sql statements
Posted by billzimmerman NO[at]SPAM gospellight.com at 8/29/2003 11:41:04 AM
I have a shopping cart that I want to load items in that come from a
huge scrolling form. In other words, when someone clicks on a category
in our site, it scrolls out all the items in that category, maybe 30
or more. I have text boxes next to each item so somone can enter a
number, then press s... more >>
Qustion:
Posted by Need_help at 8/29/2003 11:16:23 AM
ASP Q:
I have an array with some values.
so I have values
Value(0,1)
Value(0,2)
Value(0,2)
....etc.
since the values are different size, I'm using
left(values(0,1),7)
So I can take first 7 digits out.
Normally I'm looping through the array and I'm using form like this:
CDb... more >>
anyone use Dreamweaver?
Posted by middletree at 8/29/2003 11:12:49 AM
I've been doing ASP by hand-coding in either Homesite or Interdev for years.
I have been using Dreamwever for static sites that I make on the side.
I recently was asked to make a form which will store info in an Access
database, and thought it would be a good chance to learn how to use
Dreamwe... more >>
Problem by sending a fax via ASP Application
Posted by Peter Haider at 8/29/2003 9:45:51 AM
Hi newgroup,
i struggle with a problem with windows 2000 fax server running under my ASP
Web application
The sending of an fax - like the example below - works manually very well
(with file open and print to the fax printer) - logged on as a normal user.
But my code under ASP doesnt work ... more >>
Pull down and add
Posted by Michael at 8/29/2003 9:25:24 AM
I know how to enter data to a SQL database from a form.
I am making a form where the user inputs some numbers.
Than other users login to this other place and I want the
number that the person imputed to be shown in a field
multipled at a certain price. I am unsure how to pull the
numbers... more >>
Variable from RecordSet only keeps the first word.? Huh.?
Posted by webpro NO[at]SPAM webpro.co.za at 8/29/2003 9:12:47 AM
Tearing heair out here ........... and there must be a simple
solution.
The words Joe Peter Smith are stored in an Access-97 field called
Contact and are returned in a record set and stored to a variable
called ShowContact
ie. ShowContact = rstemp("Contact")
But when the variable... more >>
Lookup Country by IP Address
Posted by www at 8/29/2003 8:16:57 AM
I want to know if there is a free service or database available from where I
can get the country information if I pass it the IP address. If been to a
site where you can do a free lookup, but I want to automate it.
Your help or ideas will be greatly appreciated
Cheers
Charles
... more >>
Response.Add Header problems (Content-disposition)
Posted by Jawahar Rajan at 8/29/2003 2:30:37 AM
All,
I have an ASP Application in which users can save a recordset as an Excel
spreadsheet should they choose to do so.
When the app was on test box all was well but when I moved it to
production, the page failed and IE returned an error saying that the page
was not available
The lines of... more >>
Stumped - page executes twice sometimes (even thrice occasionally!)
Posted by Manny at 8/28/2003 11:06:22 PM
I have a web form "Page1.asp" and it reads data from a database, does some
calculations, and displays the records in pages. Works fine.
I have a button that displays on the page, defined as <input type="button"
onClick="OutputData()">
The OutputData() function is a javascript function that ... more >>
True answer re timeouts
Posted by Laphan at 8/28/2003 6:19:10 PM
Hi Guys
I've been using text files for Tab-Delimited/ADO/ASP sites so that users can
update and display their products lists through my system with relative
ease.
Only problem is that for the last few months or so, this system has been
generating loads of timeouts. ISP has said that I shou... more >>
Formatting percent and dealing with division by zero problems
Posted by billzimmerman NO[at]SPAM gospellight.com at 8/28/2003 6:02:13 PM
I have some values that I want to display as percent, such as the
retail price/wholesale price. In some instances, the wholesale price
is zero, so I get a division by zero error.
What can I do to avoid this?
Also, how can I get this to only show two decimals, instead of it
going .##### the... more >>
Detecting new mail?
Posted by Robb Meade at 8/28/2003 5:53:52 PM
Hi all,
I am planning out the stages for an application at work, the application
needs to detect when a client has emailed 'us' and then trigger a new row
written to a database and email the client back by return.
I can see how most of what our application needs to do can be achieved with
A... more >>
Problem with including a header
Posted by Jim Mesara at 8/28/2003 3:37:32 PM
I have the following file structure:
/
header.asp
test.asp
/subDir
testpage.asp
/images
I would like to have header.asp to be usable from all directories.
Header.asp will have images and URLs. When I try to #include the file in
test.asp, it works fine. However, if I #include it in t... more >>
ASP functions can get the HTTP request and response headers?
Posted by John Davis at 8/28/2003 3:12:04 PM
Any ASP functions can get the HTTP request and response headers?
Thanks!
John
... more >>
GetRows Mystery
Posted by Moshe at 8/28/2003 1:52:02 PM
I'm facing an odd behavior in using the GetRows Method. I'm not sure what's
causing it because it has been working fine until now.
I have a sproc that returns 1 row. I display the RS info on the page using a
DO-WHILE loop. All fields have values.
I then rerun the same sproc, but this time ex... more >>
Finding filenames using wildcards
Posted by Robert Wagstaff at 8/28/2003 12:49:31 PM
I have an interesting challenge. I have a client that is
putting pictures into a single folder on the web server.
The files are specific in that the first 5 characters of
the filename are the same ORDER#. The challenge is simply
to find all the filenames with the initial 5 characters
be... more >>
OT: RSS news feed on my site... HOW?
Posted by mark | r at 8/28/2003 12:42:54 PM
i keep seeing these rss news items and i want to know how i put them on my
site, there xml files?
a have access to both asp and perl scripts do i need one of these to do the
magic? and if so anyone know a good free one :)
cheerz
mark
... more >>
can't login! - authentication prob.
Posted by NickyW at 8/28/2003 12:19:31 PM
Hi,
Can anyone help.
I have a folder on my website that has 'anonymous access' and 'basic
authentication' disabled, and requires 'intergrated Windows authentication'.
This used to work fine, but all of a sudden it won't let me in! . The login
box appears, I have checked the username, password a... more >>
ASP + PAyPal
Posted by Stuart at 8/28/2003 11:37:31 AM
Hi,
Can some one point me to a resource (if there is one) that describes if a
value is sent back to my site from PAyPal once the payment has been
process.
The reason is that I want to perform some actions once I know the payment
has been received and processed.
I have looked the PDN ... more >>
Need suggestions on where to get help
Posted by TurboDuster at 8/28/2003 10:54:34 AM
I've posted a question here twice and unfortunatly got no
reply. Maybe it's a hard question. Maybe I've broken some
sort of netiquette and I'm being shunned. Don't know. If
the former, I would like to ask if anyone could suggest
another good resource for getting help with ASP and forms.
If ... more >>
input type=file
Posted by Paul Moffitt at 8/28/2003 9:38:52 AM
is it possible to define a default or start up directory with input
type="file" field type?
If so, is it also possible to filter by another option box selection?
If so, how so?
Thank you
Paul Moffitt
... more >>
II6 on Server2003 asp 0134 problem
Posted by Björn_Karlsson at 8/28/2003 3:34:53 AM
I just started a new 2003 with II6 and can't get .asp
documents to function. I have enabled asp support. I
copied the web tree from a working IIS NT/4 server. The
following error message is logged in the IIS log:
2003-08-28 09:52:41 10.0.0.107 GET /dplogon.asp
|1|ASP_0134|Invalid_Pro... more >>
Query build
Posted by Larry R. Baker at 8/28/2003 12:30:13 AM
I am having trouble with structuring my query for searching using "LIKE". I
return no records with my current SQL statement. Any suggestions would be
appreciated.
Here is the string I am sending through ASP using VBScript as my language.
Other piece:
strClass = Request("SiteLOCCode")
Str... more >>
force a file download dialog does not work in 5.5 sp1
Posted by navinsm2 NO[at]SPAM rediffmail.com at 8/27/2003 10:57:31 PM
hi,
guys i am using the following code to force a file download dialog in
asp
Response.ContentType = "application/vnd.ms-excel"
response.AddHeader "content-disposition","attachment; filename=" &" &
StrFileName
Now the it works fine in ie5.5 sp2 but no ie5.5 sp1 it prompts the
user twice t... more >>
A Non ASP Guy Needs Help with a Solution
Posted by ratlhead NO[at]SPAM ratlhead.com at 8/27/2003 9:58:45 PM
Hi there,
I'm not an ASP guy and I'm in need of finding out a solution to a
problem that's ASP related.
A site that I'm helping someone migrate to a new box (currently
internal and now going to an ISP), was written pretty poorly. A
script, written in ASP/VB, runs once an hour to check the ... more >>
Email notification query (many to many) :: multiple directions
Posted by jason at 8/27/2003 6:40:55 PM
I could sure use some conceptualization and query help with a Page Watch
System I am building in Access 2000 and Asp.
I need to cycle through databae and generate a compiliation query email that
notifies a person of yacht(s) that have changed on our website:
Key database tables
----------... more >>
email notification, when database updated?
Posted by Raphael Gluck at 8/27/2003 3:55:13 PM
Hi,
Is it possible for one to program one's pages as such that when a database
table is updated over the web, via a form, that an e-mail confirmation is
sent to a specified address, notifying the update has taken place?
If so is there a tutorial out there that is easy to understand and
imple... more >>
ASP Not working
Posted by Bruce Jackson at 8/27/2003 3:29:45 PM
I have my web server all set up, html documents work fine, but any asp page,
the browser hangs for about a minute, then gives an error like the page does
not exist, the standard "The Page cannot be displayed" message. Any ideas on
what to look for? Any help much appreciated.
Bruce
... more >>
Avoiding the <p> after a form submit
Posted by webpro NO[at]SPAM webpro.co.za at 8/27/2003 2:26:30 PM
maybe this is a real Newbie Question but I'm sure I got around this in
the past but can't remember how.
If a form is situated in normal HTML then a paragraph tag is inserted
after the Submit button.
If the form is placed in a table then the preceding paragraph tag is
supressed but the trail... more >>
Logging off from a website
Posted by Geoff Wickens at 8/27/2003 7:52:12 AM
I am amazed at how much help I have had in creating my first asp based
website from this forum. There are obviously a significant number of real
experts who are happy to take the time to help us novices. My site which now
does what it aims to would not be working without this assistance and I am
... more >>
Remove OLE Information for Images in DB
Posted by Bob at 8/27/2003 7:35:32 AM
Hello:
I'm woundering if anyone can lead me to a tech article on how to remove the
OLE header from an images that get stored in an SQL image field via MS
Access forms.
I cannot use an ASP upload page since the user will be using an Access form
and does not want to jump around from Access to... more >>
|