473,671 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP / Active Server Pages Forum

ASP (Microsoft's Active Server Pages) web scripting language - Ask questions about asp development and scripting, ADO, scriptlets, caching, COM, components, sessions, data access, database, objects, cookies, security and more.
0
1,281
thread by: FAYYAZ | last post Aug 19 '05 by: FAYYAZ
Hi All I am looking for a way to deliver audio/video files to users as that user do not know the url of file. For Expamle I have abc.mp3 and some one wants to download this file he has to click to a link which takes him to xyz.asp and start downloading file abc.mp3 but he never know full url of abc.mp3 If some one help me in this regard...
1
1,084
thread by: Robert | last post Aug 19 '05 by: Gérard Leclercq
Hello, I'm trying to build a website, with profiles of different people. But if it al more than 1000 people, i want to search for profiles, to keap it easy. BUT I Don't know how to build one.. It goes about this script:
5
2,049
thread by: Jay Villa | last post Aug 19 '05 by: [MSFT]
Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objTemplateFile = objFSO.OpenTextFile(Server.MapPath("template.txt")) strTemplateText = objTemplateFile.ReadAll objTemplateFile.Close Set objTemplateFile = Nothing strTextToPrint = strTemplateText strTextToPrint = Replace(strTextToPrint, "{date}", Date()) strTextToPrint...
0
1,454
thread by: tkcheng | last post Aug 19 '05 by: tkcheng
Helllo, For security reason, we are changing our form submission coding with HTML encode on all the text fields to block the SQL injection. However, we encounter a problem on double byte character (we will input english and chinese character into the fields). If we input double byte character into the HTML encode fields and save to SQL...
1
1,212
thread by: Sword | last post Aug 18 '05 by: Bob Barrows [MVP]
I have an ASP.NET application that using form-based authentication. I have a logon page, the user can enter his user name and password – which stored on a remote SQL server, after click the Logon button, if both are correct, the application will redirect the user to a welcome page. It’s very simple, and works totally fine on my localhost...
1
1,399
thread by: CanoeGuy | last post Aug 18 '05 by: Bob Barrows [MVP]
I have been trying for the last two weeks to display a dynamic DataGrid. The data that I'm pulling from a SQL Server DB will have whole columns that will be either NULL or 0. I want to display only the fields that have actual data in them and either not display or hide the columns that have NULL or 0 values. As an example, one page may need...
0
981
thread by: Chris | last post Aug 18 '05 by: Chris
I have a security consultant group bashing Microsoft byt stating that the way IIS handles Session ID is flawed. They're asking me to, once my users hit the first asp page pre-authentication, to then destroy that session id (ASPSESSIONID) and re-assign one. How can that be done? It's read only. And I keep stating that this is in 128-bit SSL...
4
2,448
thread by: Martin | last post Aug 18 '05 by: Martin
Hi, From Page1.asp, I use "Server.transfer" to "REDIRECT" to another asp page (page2.asp), in page2.asp I use Request.ServerVariables("URL") and Request.ServerVariables("REFERER") to get the lastpage and the actual page, this method (or property) return incorrect values: "Page1.asp" and "" Why? Martin
1
1,675
thread by: jamal | last post Aug 18 '05 by: Bob Lehmann
Hi guys this is my second time posting this question I am hoping I get an answer this time. I need to access my pop mail account and download my e-mail to a database file which is on the my localmechine. is any one of you try to read mails with asp?
0
1,191
thread by: Mike | last post Aug 18 '05 by: Mike
I am wondering if it is possible to add an exchange user/mailbox via ASP (or ASP.NET). I've seen some examples using ADSI, but I am wondering what the simplest way of doing this is. If anyone has example code, links, or advice, it would be greatly appreciated. Thanks!
0
1,236
thread by: Chris | last post Aug 18 '05 by: Chris
I can't seem to find again where this cookie is placed by IIS. Can someone quickly respond with its location. Thank you. Also, does anyone know if this system created cookie has the same attribute of SECURE as does a developer created cookie? I know it's read only but how can I secure it. I'm using 128 SSL in addition. Thanx!
2
8,317
thread by: plank | last post Aug 18 '05 by: Egbert Nierop \(MVP for IIS\)
Hey Peeps, Ok here is my situation.. I have a Java applet which allows the user to select files and upload them to the server. The applet converts the file to Base64 and then POSTS the data to an ASP page. The ASP code I have is: <% Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
2
6,499
thread by: yabba | last post Aug 18 '05 by: Egbert Nierop \(MVP for IIS\)
w2k server as webadmin i have occasion to kill a user session and couse them to login again. I have the sessionID saved in a file. is there a way to kill the user session without disturbing others? tia
1
492
thread by: TRI_CODER | last post Aug 18 '05 by: [MSFT]
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Security.dll. Unable to find an entry point named...
1
3,158
thread by: TRI_CODER | last post Aug 18 '05 by: [MSFT]
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Security.dll. Unable to find an entry point named...
4
1,780
thread by: IranMania | last post Aug 18 '05 by: Bullschmidt
Is there a way that I can read the current url. I have an asp page currently such as default.asp?x=1&y=2&z=3 Now I want to keep the existing parameters and attach another parameter to it and resend to default.asp As the original parameters are dynamic, and may or may not be generated, the only way is to read the current url and to...
3
2,254
thread by: jrefactors | last post Aug 17 '05 by: Mark D Powell
I want to ask what are the possiblities to truncate data from 1 million dollars to 1 dollar by using formatCurrency and CCur functions? The ASP page has code <%= formatCurrency(rs(14)) %>, the database rs(14) is 100000000. But when it displays it in the screen, it shows $1.00 with code <%= formatCurrency(rs(14)) %> There is another place...
5
21,803
thread by: Mike | last post Aug 17 '05 by: Mike
Is it possible to loop round all querystring parameters in a web page (i.e. access them without hardcoding them)? I want to do this because I have a page that has different querystring variables passed into it depending on the content of the calling page.
3
5,105
thread by: Utada P.W. SIU | last post Aug 17 '05 by: AlanM
I have registered a dll in my server using regsvr32 dll_name.dll and it prompt me the dll is registered succssfully however, when my asp code want to create that object, the page prompt me that Server object error 'ASP 0177 : 8007045a' Server.CreateObject Failed
5
1,430
thread by: Jay Villa | last post Aug 17 '05 by: AF
I am planning to implement some templates (around 30 templates). User will select this template from the drop down and click print. When it prints it should populate few fields from the form to template and print. Any suggestions ? Select Template _______________________ -Jay
4
1,160
thread by: Roland Hall | last post Aug 17 '05 by: Roland Hall
Can someone please come up with a function that will accomplish this? function bugs(err, code) put user.inDark(err) fixed = code.repair(err) history.go(-1) bugs = fixed end function To call it would probably require something like this:
3
1,093
thread by: Martin | last post Aug 16 '05 by: Bob Barrows [MVP]
Hi, Can I use IDE of VS .NET to develope ASP pages (not ASP .NET)? I have tried, but it seems not support this feature??? Thanks Martin
5
3,116
thread by: khan | last post Aug 16 '05 by: FX
Error Type: CreateRecordset (0x80004005) Unspecified error /finalsite/SearchResults.asp, line 47 this is my code can any one help plz why I am getting ths error <html> <head>
2
1,677
thread by: steve | last post Aug 16 '05 by: steve
I have Option Explicit ON by the way. I have declared a variable in one subprocedure which is being used by another subprocedure. But it doesn' seem to work. I am doing something similar to this (but obviously with much more code): <% Option Explicit Call X
2
2,265
thread by: david | last post Aug 16 '05 by: Bob Barrows [MVP]
Hi, I have asp pages running from a MySQL database. I have placed a path in the required field (although not quite sure on the correct format). My asp page is just displaying the text path instead of the image. I'm using response.write. The Folder is called : images

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.