all groups > inetserver asp general > july 2005 > threads for july 1 - 7, 2005
Filter by week: 1 2 3 4 5
Object doesn't support this property or method: 'Response.Redirect
Posted by Peter D at 7/7/2005 8:39:09 PM
I wanted to add this method to my .asp page in order to dynamically choose a
page based upon some selection criteria. It's in my .asp book and in the
online reference. Yet when I use this object, the following error returns
in the browser:
Error Type:
Microsoft VBScript runtime (0x800A... more >>
why use htmlencode
Posted by diablo at 7/7/2005 6:40:08 PM
Hi
I have a website where people can enter comments into a textarea - some of
these may have a bit of html - like links - or <blockquote>
the comments are stored in a Access2000 mdb file - A friend told me that i
have to use htmlencode on the textarea string before storing it in the
databas... more >>
How do I detect which button was clicked on "save/open/cancel" dialog?
Posted by Quinn at 7/7/2005 11:23:08 AM
When users clicked a unkown mime type link such as Zip on my website, a
"Save/Open/Cancel" dialog box pops up. Is there a way to detect which button
users clicked by using ASP? actually I only what to record the "valid"
click -- when Open/Save was clicked.
Thanks ahead.
Quinn
... more >>
Having Web Page Refresh and go to end of page
Posted by miTch at 7/7/2005 10:40:39 AM
I am trying to use the following to get a web page to auto refresh every 3
secs and go to the end of the web page. Refresh works but it will not jump
to the name anchor. Any help?
<HTML>
<HEAD>
<META http-equiv="REFRESH" content="3;'what.htm#TheEnd'">
</HEAD>
<BODY bgcolor="#ffffff" text=... more >>
Defending against SQL injection....
Posted by Griff at 7/7/2005 10:16:38 AM
I have a multi-page ASP web application that uses information sent to it
from the client in the Request.Forms collection, the Request.QueryString
collection and the Request.Cookie collection.
What I want to do is to sanitise ALL the information sent to EVERY page.
I thought I'd achieve thi... more >>
error with aspnet_isapi.dll
Posted by .:mmac:. at 7/7/2005 8:21:40 AM
Win2k server had a virus, I don't know which one as the client removed it
themselves, but the event log is filling with this error:
7/6/2005,4:39:07 PM,
Perflib
Error
None1008,N/A,SERVER,"The Open Procedure for service ""ASP.NET_1.1.4322"" in
DLL ""C:\WINNT\Microsoft.NET\Framework\v1.1.432... more >>
How to get/set and send the HTTP Headers(user-defined)
Posted by Lakshmi Narayanan.R at 7/6/2005 11:18:02 PM
[Qtn : How to get/set and send the HTTP Headers(user-defined) coming from
another domain/site]
Hi Experts,
In one SMS gateway project i need a great and urgent help from u all. There,
the Service Providers sending the data thru "HTTP Headers" (For ex.
sms-Id,sms-source [user defined]).... more >>
number formatting
Posted by james at 7/6/2005 7:36:39 PM
Hi
Im having a problem getting a number to display correctly. The number is
the result of a calculation and I am then using formatnumber to remove any
decimals.
The number displays as '1,345' is there any way to get rid of the comma
Thanks
J
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
List of Databases
Posted by Rick Langschultz at 7/6/2005 4:50:07 PM
I am writing an Active Server Page application that will get all of the
databases that a user can access. Is there a way I can do this with Active
Server Pages? I also will provide the users with the option to change
records, table structure, etc with this application.
I will also be developin... more >>
Use session variables or store in database?
Posted by eselk NO[at]SPAM surfbest.net at 7/6/2005 3:48:21 PM
I'm new to ASP. If I store information in these handy "session
variables" am I going to run into many limitations that I wouldn't have
it I added a database record for each session instead? For example, if
I use session variables, can I have an admin utility that lets me see a
list and/or coun... more >>
Excel gridlines
Posted by middletree at 7/6/2005 10:44:35 AM
Like many people here, I've been trying to generate a spreadsheet on an ASP
page. In my case, it's Intranet, so I can't provide you with a link. But the
problem I have been fighting is a simple one: The spreadsheet that is built
by my code has no gridlines. I cannot find anything in the documenta... more >>
SQL Conversion Assistance Needed
Posted by DanVDM at 7/6/2005 10:40:25 AM
Came across this code.
SELECT Y,
Q1 = COUNT(CASE WHEN Q=1 THEN Sales END),
Q2 = COUNT(CASE WHEN Q=2 THEN Sales END),
Q3 = COUNT(CASE WHEN Q=3 THEN Sales END),
Q4 = COUNT(CASE WHEN Q=4 THEN Sales END)
FROM
dbo.SalesByQuarter
GROUP BY Y
ORDER BY Y
It does a pivot tabl... more >>
Flushing servers buffer
Posted by Andyza at 7/6/2005 3:09:43 AM
In the following code when i = 500 the buffer on the server is flushed
to the client. However, because the content that is sent to the browser
contains an html table Internet Explorer does not display the table
until it receives the closing </table> tag. The question is, am I
correct in saying t... more >>
Shopping Cart Advised
Posted by kelvinweb NO[at]SPAM gmail.com at 7/5/2005 11:45:03 PM
Hi All,
If I want to using asp paging to display product. I added 2 pcs in
page 1, and I added 3pcs in page 2, and I added 5pcs in page 4 and
then click add to cart button. How can I keep them before click "add
to cart" button ?
Please advised.... more >>
Prevent "Back" Buttom in Browser
Posted by George at 7/5/2005 9:59:51 PM
I am trying to set up a login-logout website. I have a cookie about the
login status. I put it as logout once the logout link is clicked. And
I put a little security check about the status of the cookie variable
everytime before loading the detailed member profiling.
The page layout is l... more >>
401.2 on ASP pages
Posted by SJS at 7/5/2005 12:36:07 PM
Argh! I know this is a simple problem, but I just can't find the answer. I
have IIS running and can get it to display htm pages, but not ASP. I get
401.2, invalid config on server. I've run authdiag, but can't glean the
answer from its results.
All help appreciated!
Steve
... more >>
Random Session Timeout in IIS6
Posted by Ted Bogucki at 7/5/2005 11:07:11 AM
I have an asp application running on both iis5 and iis6. (not .net) The
server ruhnning IIS5 has no problem running my application. IIS6 randomly
times out WEB users. The session timeout is set for 60 minutes. I will
get timed out in iis6 in less than 5 minutes. Are there any othe... more >>
Problems connecting to MS SQL via Access2000 adp
Posted by Paul at 7/5/2005 11:04:40 AM
For the past several projects, I have been using an Access 2000 .adp file to
create and manage the database on the remote SQL Server. It has worked very
well for me and is a very fast, simple way to take care of minor updates.
A new project is not going so well, though. No matter what I try, ... more >>
How to convert XML or HTML to pdf file ?
Posted by kelvinweb NO[at]SPAM gmail.com at 7/5/2005 12:12:27 AM
Hi all,
How to convert XML or HTML to pdf file ?
Where can I find free pdf generator ?... more >>
help hiding image paths
Posted by mark | r at 7/4/2005 10:09:07 AM
anyone know a useful way of hiding image paths so images on my site cant be
directly linked to?
ive seen sites that use <img src="image.asp?/moo/fred/image01.jpg"> (where
the path starts from www.domain.com/secretfolder/moo/fred/image01.jpg) but
dont know how to set this up
BTW am on a ... more >>
session
Posted by Eugene Anthony at 7/4/2005 8:04:28 AM
In my login.asp I have the following code:
<!--#include file="database_Function.asp"-->
<%
Dim sSessionID, sMessage
If Len(Request.Form("cmdSubmit")) > 0 then
mySQL = "EXECUTE usp_CheckLogin @usid='" &
Trim(Lcase(Request.Form("usid"))) & "',@password='" +
Trim... more >>
DTPicker
Posted by Theo at 7/4/2005 3:43:51 AM
Hi Guys,
A silly question really, but how do I get the value of a DTPicker.
I just need to get the value in session variable and display it on a different page.
-----------------------------
This message is posted by http://asp.forumszone.com
... more >>
Generating XLS files from ASP
Posted by daniele.balducci at 7/4/2005 2:26:01 AM
Hi All,
I'm generating XLS files from ASP(.Net) code using the usual code
chunks ...
Response.ContentType = "application/vnd.ms-excel"
Response.AppendHeader("Content-Disposition", "attachment; filename=""" &
... more >>
Associating Iframe pages with a specific page. Server side
Posted by paul dallaire at 7/3/2005 11:47:43 PM
HI! I need to associate a iframe pages to a specific page for my menu
system.
I want to be able to click on my menu system anywhere on my site and the
options that is clicked will load that options ( iframe page ) into a
specific page that holds the iframe.
Right now the options are only... more >>
aspx page to kick off async background task and then end
Posted by Carl Johansen at 7/2/2005 7:59:00 PM
I'm not sure of the best way to do what I want. Users of my website want to
run reports that take a long time to generate. This is what I would like to
happen:
1. User requests aspx page
2. aspx page kicks off an asynchronous background task (on the same web
server) to generate the repor... more >>
Windows Script
Posted by Al at 7/2/2005 12:40:21 PM
I Know this is the wrong group to ask but you never know some one out there
might have the answer.
Does any one know how to compile windows script.?
what tool do I need and how to?
TIA
Al.
... more >>
asp and ms sql
Posted by Eugene Anthony at 7/2/2005 5:43:06 AM
Table created in ms sql:
create table tbl_users
(
SessionID UNIQUEIDENTIFIER Primary Key,
usID Varchar(20),
Password Varchar(20),
LastUpdate Smalldatetime
);
2 Stored Procedures created in ms sql:
Create Procedure usp_CheckSessionID
@sessionID UNIQUEIDENTIFIER
As
if EXISTS(SELECT 1... more >>
Asp search in progress page...How?
Posted by Kermit at 7/2/2005 12:00:00 AM
Any suggestions to the following problem...
I need a search in progress page, so when a user clicks my search button
they are then directed to a 'searching...' page with an animated gif.
The search in progress page needs to use 'GET' to go and retrieve the
results of the search. Once the res... more >>
removin html tags from string - but leaving a few behind
Posted by diablo at 7/1/2005 8:23:46 PM
hi
i have seen several examples (blogs in particular)
http://www.lastkissed.com/?p=7#comments
where placing html into a textarea seems to be stripped out on the other
side. and yet retains some...
for example the above - i placed a </table> into the comment and submitted -
the <blockqu... more >>
Upload files.
Posted by MichaelK at 7/1/2005 4:43:31 PM
I need to I make an .asp page on our website
where users could upload different files, like text, pdf or images.
No .net environment.
Could be it done with VBscript or have to use something else?
Any examples or ready to use objects, any tips would be appreciated?
I'm a little bit rusty but can... more >>
Working with dates...
Posted by Noozer at 7/1/2005 9:06:51 AM
I'm using ASP to access an MS Access database. One issue that I'm constantly
having problems with is Date/Time records.
What I'd like to know is how does one work with date variables in ASP?
My current problem is this...
I have two variables, Mnth and Yr, which each hold an integer. Mnth h... more >>
response.redirect problem
Posted by gtea at 7/1/2005 3:46:03 AM
I am using response.redirec to do the url redirection on my login page. The
login page is under http://myURL/test/dir1/login.aspx, when the user login
successfully, the login page redirects the user to the default.apsx page,
which is under http://myURL/test/dir1/default.aspx.
When I enter t... more >>
|