473,670 Members | 2,499 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.
2
1,394
thread by: jrefactors | last post Sep 27 '05 by: Matt Silberstein
There are two cookie types: 1) session cookie. 2) persistent cookie is the same as tracking cookie? Is that correct? For windows machine, the files in C:\Documents and Settings\Administrator\Cookies are all persistent cookie, it doesn't have session cookie?
1
2,457
thread by: Dica | last post Sep 27 '05 by: Steven Burn
if i needed to embed a graphic in my email, i could use CDONTS's attachURL method. since attachURL isn't supported with CDO.Message, what can i use to embed graphics? tks
7
4,988
thread by: J_J | last post Sep 27 '05 by: J_J
Hi, Below is the message I received when I attempted to use a web page on our network that makes use of ASP. The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed....
3
1,375
thread by: Rolf Rosenquist | last post Sep 27 '05 by: Rolf Rosenquist
With the following code I can create a new textfile if it does not exist, but it seems impossible to me, to append data to an existing file. Dim objOpenFile, objFSO, strPath StrPath = Server.MapPath("../smslog.txt") Set objFSO = Server.CreateObject("Scripting.FileSystemObject") If objFSO.FileExists(StrPath) Then Set objOpenFile =...
1
2,211
thread by: Paul Bergson | last post Sep 27 '05 by: Steven Burn
I need to code a tracert function from an asp page. I can write some asp but I'm saddled with notepad as my development suite. Any pointers on getting a tracert type function from within asp? -- Thanks
3
1,104
thread by: ChrisM | last post Sep 27 '05 by: JPG
We have a create ASP page where the user fills in the fields and clicks submit to post the data to a save page. Recently it looks like the data is being lost at some point. We use Request.Form.Item to get the data from the create page but its just bringing back a blank field. Has anyone else had a problem like this or have an idea why it...
4
3,790
thread by: Terren | last post Sep 27 '05 by: Danny
I need to be able to edit a drop down box is asp. On my web app I populate a drop down box from a databse. The user can then select an option that will then be saved to a Database for example Mr Mrs Miss but if the option is not their e.g Dr, Prof etc then I want them to be able to enter in the drop down box and then I will save this to...
28
4,874
thread by: Prabhat | last post Sep 27 '05 by: Prabhat
Hello, I have the below requirement. When ever my website is opened by any link: say clicked from the google search result or a link from other website: Then I should able to know the referrer URL. How Do I get that? I know about Request.ServerVariables("HTTP_REFERER"). So I used this in
0
5,694
thread by: Rossco | last post Sep 27 '05 by: Rossco
Hi All, Thanks in Advance. We are trying to establish if it is possible to create an asp page that can be used on a member web server to send net send messages to either all users or to specific users/groups. Also if anyone has some small code snippets to get me in the right direction that would be great too! Cheers Rossco
3
1,971
thread by: yabba | last post Sep 27 '05 by: Tim Williams
anyone know of a good zip/unzip dll i can run from asp? I intend to use it to pack/unpack upload and download files to save time. TIA
2
1,375
thread by: middletree | last post Sep 26 '05 by: Ray Costanzo [MVP]
For the record, I hate frames. But I am stuck with them for this project. Just wanted to get that out of the way so that any helpful replies I get won't include chastisement for using frames. OK, here's the question. How can I use a server-side script to determine if the page being loaded is doing so by itself, vs. in a frame? If it is by...
6
10,449
thread by: Vanessa | last post Sep 26 '05 by: Vanessa
I have a question regarding async mode for calling Microsoft.XMLHTTP object. Microsoft.XMLHTTP hangs the IE once in a while suddenly, but it will work again after half an hour or so without doing anything. I have searched through the Internet and seems like the reason it hangs the browser it's because XMLHTTP limits you to two concurrent...
1
1,533
thread by: vvenk | last post Sep 26 '05 by: Bob Barrows [MVP]
Hello: I wanted to implement windows-based authentication. However when I run this aspx form, I do not see the user name and Authentication type. Can somebody tell me what I am doing wrong? Here's the code snippets: WindowsAuth.ASPX
8
45,198
thread by: Prabhat | last post Sep 26 '05 by: Egbert Nierop \(MVP for IIS\)
Hi All, I am trying to get the IP address of the Client machine and using the code: Response.Write(Request.ServerVariables("REMOTE_ADDR")) But I only get 127.0.0.1 It should be giving the IP address of the system or the gateway. How can I get that. Please help.
2
1,505
thread by: sakons | last post Sep 26 '05 by: Shlomy akons
I have created excel file with data from a query #in asp or asp.net+c but when I run the applicaiotn i get the open /save popup when I choose open -> the file is opened in the IE (and is seen as a excel file)and when I click File-> save as->I get the type: shtml or html but i want to to get the type: xls How can I do it? I all ready us...
6
1,628
thread by: Prabhat | last post Sep 25 '05 by: Dr John Stockton
Hi All, I have one .ASP file where a small java script is integrated and the output does work in IE but not in FireFox or Opera 8.5. Please suggest. Code: <form name="test"> <select name="GraduationYr" > <option value="-1"></option>
3
4,615
thread by: Joakim Olesen | last post Sep 25 '05 by: Joakim Olesen
Hi I have an issue with an asp page that reads from an Excel file. I read the file using OLEDB. I create a new Excel file using "MS Excel 2003" and put the following data into a sheet called "Ark1" (2 columns and 5 rows): 1234 reer 1234 feb 4467 heerh 4467 123123
3
1,305
thread by: ghause | last post Sep 25 '05 by: Egbert Nierop \(MVP for IIS\)
Does anyone know how much longer Microsoft intends to support classic asp? Thanks
0
1,020
thread by: Hugh Welford | last post Sep 24 '05 by: Hugh Welford
Hi I'm beta testing a community membership site using ACCESS/asp on IIS5/windows server, shared with other sites. The performance is not consistent - sometimes OK, sometimes very slow and sometimes data access scripts time out (even when timeout set to 5 minutes) - sometimes the server recovers, and others a re-boot is necessary. Can...
2
9,722
thread by: syoung | last post Sep 24 '05 by: Mark Rae
I would like to know if anyone knows how to execute a stored procedure from ASP.NET 2.0. I'm using the NorthWind database and I'm trying to execute the "CustOrderHist" stored procedure. The error I get is "Incorrect syntax near 'CustOrderHist'. " Public Function GetCustomerOrderHistory(ByVal customerid As String) As SqlDataReader Dim...
1
1,361
thread by: tony | last post Sep 24 '05 by: Bob Barrows [MVP]
Please could you assist me on this query. i have to complete this task the earliest time. i am not that experienced in asp, but i manage more and less to program basic functionalities.... i have included a form in my application. on
2
1,698
thread by: John Keenan | last post Sep 24 '05 by: Egbert Nierop \(MVP for IIS\)
the CreateObject works fine. the FolderExists works fine... I tested this out by giving it a folder that does not exists too working fine means, I get response within a moment or two. but when I use GetFolder, IE takes about 30 seconds to go half way on the progress bar, then hangs Also, I do get notified from Norton that something is...
1
4,280
thread by: Mindy Geac | last post Sep 23 '05 by: Gottfried Mayer
Hello, I'm seaching for the possibility to change Domain/User passwords. And a check for users if the password has to change with the first logon or when the password is expired. thanx, Mindy
2
8,707
thread by: Scott | last post Sep 23 '05 by: Scott
Is there a way to check if a file exist using VBScript in an ASP page. So the code might go something like this: If Exists("C:\Junk\1.txt") then Do something Else Do something else End If Thx,
5
13,207
thread by: jrefactors | last post Sep 23 '05 by: Brijesh
My machine is Windows XP with Oracle 9.2 Home; IIS and Oracle are in the same box. I have tried both Oracle OLEDB Provider and Microsoft ODBC For Oracle, but both not working. For Microsoft ODBC For Oracle approach, I added a data source in Oracle Data Source Administrator, in System DSN tab, I created a system data source named...

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.