Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Advanced server-side form validation
FayeC - 15 Jul 2006 9:49 PM - 3 messages
Can anybody point me to a good tutorial/manual on advanced server-side form validation including validation of fields against unwanted strings such as the use of "http://". Thank you in advance, FayeC ...
Score DateDiff - Whole Month Problem
J-P-W - 14 Jul 2006 10:17 PM - 5 messages
Hi, I have a system that records insurance policies. If the policy is cancelled then any part of a month insured is deducted from the premium, so a policy that ran for 32 days would get a 10 month rebate so would 58 days etc. ...
Score HOWTO Override ASP's Response output for 2003/IIS.
ATS - 14 Jul 2006 6:31 PM - 3 messages
HOWTO Override ASP's Response output for 2003/IIS. Please help, I want to have an ASP page write back EVERYTHING to the ASP Response. That includes HTTP Headers. I want my ASP to look something like this: ========================================== <%@ Language=VBScript %> ...
Score Form submit from an HTML email
newcomsas - 14 Jul 2006 4:17 PM - 5 messages
Hallo. I'm working on an email message sent in HTML format. As the email reach the adressee the HTML is correctly visualizaed (I made sever tests with Outlook 2003). The fact is that the code contains a <form> that should be submitted to ...
Score Email question
Ken D. - 14 Jul 2006 4:03 PM - 4 messages
I have an asp page that returns a record from my SQL database based on a custom query.  One field in the database is email address.  I would like the field displayed as a link (is working) and when the user clicks on it, their ...
Score Recalling a record insert
the other john - 14 Jul 2006 3:43 PM - 6 messages
I want to insert a record into a DB and then immediately recall what the ID is.  I have heard that there is a way to do this with SQL Server (although I haven't done it yet).  Unfortunately this is for Access. ...
Score .asp tutorial for image upload through asp
vipin - 14 Jul 2006 1:02 PM - 1 message
i am facing problem to image upload and show on web page. can anybody tell me about that and give me script for that and please understand it to me also. thanks deep ...
Score How do I do this with VB?
the other john - 14 Jul 2006 12:57 PM - 5 messages
I'm trying to extract the first 3 words (or 4 or whatever) from a recordset field so I can format it with CSS.  I'm not sure how to do this.  mid() won't work because there's no way to know how many ...
Score Query Help.
AJ - 14 Jul 2006 9:02 AM - 3 messages
Hi all, I have this monster query (at least i think it is). SELECT     c.ID, c.Company_Name, p.[level], 1 As QueryNbr FROM     (Company AS c LEFT JOIN Sale AS s ON c.ID = s.Company_ID) ...
Score disabling links
Robert Smith - 14 Jul 2006 8:15 AM - 3 messages
Hello,          I would like to know how to disable a link when a certain value is false. I have the following link. <br><a href="OrderProgress.asp" class="blueLink">Check Order ...
Score <%=request.querystring("image")%> image won't display
christina_nz3 - 13 Jul 2006 9:51 PM - 2 messages
This worked fine for enlarging my images until i put it onto a secure server, anyone know how i can fix it ??? just comes up with the standard box with a red cross in it .. and the url when i click image ...
Score global.asa @ Session_OnEnd
Rohan - 13 Jul 2006 9:39 PM - 2 messages
Hi, I am having problem with Global.asa When a session end i want to delete a folder, however it doesn't seem to work, TempFolderPath is a global variable. or do i have to save the folder path in the db and use it when the the session ends ? ...
Score Unable to write file from ASPX page. What am I missing?
Gregory Gadow - 13 Jul 2006 8:40 PM - 2 messages
I have a folder on \\webserver\wwwroot, called staticContent. The folder has several message of the day text files, such as RepMotd.text. I have an admin page, AdminMotd.aspx, that allows a user to view and edit the contents of the files. ...
Score Embed image in CDOSYS message
Manuel - 13 Jul 2006 5:26 PM - 25 messages
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I can't figure out how to embed an image. ...
Score Re: Is this a good book to start off with to learn ASP?
matt.gortner - 13 Jul 2006 3:35 PM - 1 message
I have that book as well.  Lots of information (perhaps too much to start with). A smaller (thus easier to carry around), handy reference (also very cheap) is Active Server Pages 3.0: Your Visual Blueprint for Developing Interactive Web Sites (isbn 0764534726) ...
Score ASP Array?
kmdwebdesign - 13 Jul 2006 3:27 PM - 2 messages
Hi, I have a page in my admin system where the user can edit products they have added. The problem I am having is with Related Products. These are all listed in a multiple list. What I need to do is have those selected ...
Score Bizarre Day() feature
jethro_uk - 13 Jul 2006 3:23 PM - 4 messages
Hi all, I'm having a hard time with the Day() function. Basically, it appears to be picking and choosing which part of a date string it uses to return the result ... heres some code : <HTML> <HEAD> ...
Score Using Eval to set dynamic object names
webteam - 13 Jul 2006 10:30 AM - 3 messages
I've ran into a little trouble with Eval, hoping someone can point it out to me This code works : var_ktml = "textarea2" Set ktml_textarea2 = new ktml4 Eval("ktml_" & var_ktml).Init var_ktml This code doesn't : var_ktml = "textarea2" Set Eval("ktml_" & var_ktml) = new ktml4 ...
Score How to trap error '80072020'
JP SIngh - 13 Jul 2006 9:57 AM - 3 messages
We are using an ASP page to allow our users to update this Active Directory Information. Our testing show that for 90% of the users this works fine but for a small number of users it gives an error '80072020' ...
Score Basic ASP/Javascript
John - 13 Jul 2006 9:01 AM - 2 messages
Can anyone please advise, i have a couple of functions. The first reads an array and calls the second function, that is suppose to check the value entered into a field and return it's length, it does 't it ...
Score ASP will still execute code after run-time error has detected?
John - 13 Jul 2006 12:14 AM - 2 messages
The following code has run-time error on "divide by 0" error. I expect "do the work<br>" will not print in the browser, since it happen after the code that cause the error. However, this is the output: any ideas why?? Or ...
Score Crystal Report: Stored Procedure and Temporary Table
arock - 12 Jul 2006 4:35 PM - 1 message
I've created a SQL Server stored procedure that uses a temporary table (#tempTable) to run some sub-queries within the main SELECT statement. This works perfectly fine within the Crystal Designer environment (version 9.0). However, when I run this report via an ASP web page the ...
Score Validating User Input to Avoid Attacks
A TO Consultant - 12 Jul 2006 1:59 PM - 4 messages
Hi All, I am working on a web application that uses both asp classic and asp.net pages.  We need to validate user input to avoid attacks like sql injection.  Can a component be created that both page types can use?  Is that the best ...
Score Paging Script
James Jones - 12 Jul 2006 5:00 AM - 2 messages
Where can i find the easiest way to make a paging script. I have a database that has many records, and would like it to display only 20 at a time. Any help greatly appreciated! Thanks, Jay ...
Score Re: Is this a good book to start off with to learn ASP?
eric_berlin - 12 Jul 2006 4:56 AM - 3 messages
ASP 3.0 is old technology. Is there some reason to use ASP instead of ASP.Net? Is the learning curve of .Net a factor? If you are going to take the time out to learn ASP technology, I would recommend a newer ...
Score ASP or Active X for Thick Client/ Server project?
eric_berlin - 12 Jul 2006 4:52 AM - 1 message
I am working on a multimedia surveillance program, which has both a thick server and a thick client. The client consists of both unmanaged C++ and managed C# code. It is desired to have the client output in a browser window, and I want to know the feasibility of incorporating ...
Score http://www.ebvalues.com
ebvalues - 11 Jul 2006 11:34 PM - 1 message
[link] ...
Score ASP Redirects
Advo - 11 Jul 2006 11:25 PM - 6 messages
Hey there. Is there any reason why redirects in my code would cause the error: "Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked." If that is whats causing the problems? ...
Score Variable Scope and Functions
tegryan - 11 Jul 2006 7:48 PM - 16 messages
Hey All, I'm trying to do something that should be very simple, but I think I've been up for too many hours or something. Basically, I have an asp application that uses a database connection, and I want to declare (create) that connection in an include and use it ...
Score Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by co
Advo - 11 Jul 2006 6:27 PM - 4 messages
is there any reason why i can view a page at work (which is on our server) yet when i view it online from the domain name (some pages are hosted, some are running off our server) i get the message: "Redirection ...
Score IIS and VB. NET ASP Problem
allenj3 - 11 Jul 2006 6:02 PM - 1 message
I apologize if it is in appropriate to post this in two newsgroups...I also posted on the IIS group... I just installed VB .net 2003 and wanted to be able to develop using ASP.  I followed the instructions and installed IIS and the FP extensions (although ...
Score Feedback if using CVS with windows for asp files
Katie - 11 Jul 2006 3:29 PM - 4 messages
Hi, I need a code versioning system and was considering CVS. I would like some feedback if you are using CVS (wincvs or tortoise etc) and if you are satisfied with it. One thing i havent been able to find too much ...
Score IIS 5 and personalized error pages
LordMax - 11 Jul 2006 3:08 PM - 2 messages
Hi to all. I have a problem with personalization of error pages. I hav'n't find a way to insert an image in the 403-9 page (too many users) There's some way? Thanks ...
Score Redirect problem
John - 11 Jul 2006 2:17 PM - 2 messages
Hi I have a page running in a sub folder. In this page I try to redirect to a page in the Parent (main) root folder of the site like Response.Redirect("..\staff_login.asp"). The url in the browser unfortunately translates as; ...
Score File uploading mixed with form input
furby - 11 Jul 2006 2:03 PM - 6 messages
I've been browsing around the web for an answer to this and I can't find a good answer to it.... here's the problem: I am using an ASP include file called "ClsUpload.asp" to upload a text ...
Score Radio Button
amatuer - 11 Jul 2006 9:33 AM - 4 messages
I have a radio button that i checked depending on a staement. The problem is that if i want to uncheck it ,it doesnt allow. Is it possible to uncheck it. heres the code i used for the radio button: ...
Score HTTP headers ? How to pipe an ASP file through ?
jethro_uk - 11 Jul 2006 8:17 AM - 3 messages
Hi Guys, I have a problem, and I would be grateful for any help. My WebApp has to do some database work in page1.ASP Because this may take a few second, before Page1 connects to the database, it doeas a ...
Score Microsoft Visual Web Developer 2005 Express ...
Raj - 11 Jul 2006 12:49 AM - 3 messages
Hello, How may I make Visual Web Developer 2005 Express as editor/debugger in place of Visual InterDEV for ASP and HTML pages? Raj. ...
Score killing winword.exe process - ASP and Office 2003
James - 11 Jul 2006 12:42 AM - 4 messages
Howdy. I'm having difficulty getting winword.exe processes to die on our development server when using SET objWord = CreateObject("word.application") from an .ASP page. This problem exists on our development server only as we are still using Office 2000 components in production. No probs in production with ...
Score ASP code actually showing on a page?
Advo - 10 Jul 2006 11:16 PM - 3 messages
I've been working on a page at work, which has been fine, yet when ive come to try it at home, i load the page (the page loads fine) but i see all the code etc that was hidden before. Any ideas? ...
Score Windows XP Server object, ASP 0178 (0x80070005) The call to Server.CreateObject failed while checkin
Bronik - 10 Jul 2006 10:06 PM - 1 message
I found the best solution to this problem What you need to do is go to event viewer - System Log. Look at the error it will look something like that The machine-default permission settings do not grant Local Activation ...
Score security issue on error page with ASP code
Pharoh - 10 Jul 2006 7:31 PM - 2 messages
I've inherrited an application that I have to both support and maintain here at work but it comes with one very big headache... The employees who use it are not allowed access to the server it's requried to sit on which means that my username and password have to be ...
Score Version Control
Katie - 10 Jul 2006 7:20 PM - 2 messages
Which version control system would you recommend. Need to use it with ASP and .SQL files. ...
Score Recover lost identity password
Mike Boothe - 10 Jul 2006 4:25 PM - 3 messages
I am using OE6. Instead of using the Main Identity, I'm using another one; it helps cut down the spam.  Somehow it switched back to the Main Identity (I didn't fiddle with it) and the other is password protected.  Either I ...
Score Am I likely to cause an error?
Rob Meade - 10 Jul 2006 1:47 PM - 3 messages
Hi all, I have some code which compares values in a recordset to that in an array. If it finds a match it needs to remove the item from the array. My concern is that my method for removing the item from the array is by ...
Score How do I find smart quotes?
Sean S - Perth, WA - 10 Jul 2006 3:05 AM - 4 messages
Hi all, I'm wondering if there is a way to find (to strip or process) smart quotes in text submitted via a form? These don't work: strOutput = Replace(strOutput, "“", "“")   ' left smart quote char as ...
Score CDO.Message sent whenever page loads, though the form not submitte
whyyyy - 10 Jul 2006 1:17 AM - 17 messages
The script below works fine if the form is filled out and submitted. But a (blank) e-mail is sent whenever the page loads, even when the form is not submitted. I would like to receive the e-mail only when the form is ...
Score Second form validation problem
John - 9 Jul 2006 5:28 AM - 4 messages
Hi I have two forms on my page. Both use javascript to validate input before submission. Problem is that first form does the validation fine but the second form gets submitted without any validation taking place. Simplified form of code is given below. ...
Next »