Opinions Needed On Writing Out XML

I have to perform a database query and write the results to an XML file.

I also need to form this XML file with a DTD file.

I'd like to hear some opinions on the best way to do this.

I figured out how to write out just raw XML using adPersistXML. But that doesn't really help as the XML needs to conform to the DTD.

I also found a way to write out the XML file line by line using .createNode and .appendChild...but that would take forever as the database query returns 72 columns.

View Replies


ADVERTISEMENT

Unique Way To Detect If Cookies Are Set - Opinions?

I was thinking about an easy to determine if cookies are set or not in ASP. I began
thinking about how the Session ID is dependent upon a cookie - right?

Well, I disabled cookies in Firefox and then loaded a webpage that displayed
Session.SessionID. Viola, I got one! And then, I reloaded the page. And then, I noticed
that the SessionID incremented by one!

This still isn't yet a one-page method of detecting if cookies are enabled or not (like
BrowserHawk does), but are there any possibilities here?

View Replies View Related

IISCart / Shopping Cart Opinions

Need a shopping cart for small site with only a few products that don't
change very often. Looking for something under $1000 that can be seamlessly
integrated into a custom design. Preferably ASP-based, but not necessarily.
Off-the-shelf package ok too...

Has anyone used IISCart ? Please post your opinions as it seems like a
viable solution so far...

View Replies View Related

Is Interdev Needed For ASP?

I've got the latest Visual Studio and have been doing ASP.NET websites.
Now I want to do a traditional ASP (not .NET) website.

I gather that these are done with Visual Interdev. Is Visual Studio 7
suitable for doing an ASP website?

I'm a little confused about where Visual Interdev fit in. Was it a part
of Visual Studio or was it a standalone product?

Is any ASP functionality lost or gained in VS 7 (.NET aside)?

Is VS 7 a suitable tool for ASP?

Is anyone that's maintaining an ASP website using VS 7 for this
purpose? If not then why?

View Replies View Related

Needed On .ics File

how do i generate a .ics file with unique name?

View Replies View Related

Components Needed In IIS

I was wondering if there is any updates or components needed if you was going to connect a database in ASP. Because I have a script that I download from a website that I know works 100% but when I set it up in my own IIS environment. it comes out with a 500 error. I've searched the internet and I keep seeing mentions of ADO and Mac types .

View Replies View Related

ASP Components Needed

I'm currently developing a website for my company. I would like to provide
list server functionality to the site, if possible. We have a third party
mail service, so I can easily POP and SMTP.

Does anyone know of any nice and reasonably priced list servers for ASP?

I'd also like to know if anyone knows of any good event calendar components
for display a small calendar on web page and listing events that are
upcoming. Having an admin page would be great too.

View Replies View Related

Asp / Xml Template Needed

Can anyone do me a huge favour? I need an asp template page which will pull data and display it on that page, from an XML file.

The file doesnt contain all the data, its a query to data on a server within our work.

Ive tried endlessley from tutorials etc and the best ive had is a message saying "XML DATA RETRIEVED"

I just cant get the phonelist.xml file to display, basically its a list of staff name / email / phone extension.

View Replies View Related

Stylesheets Needed For Printing?

I have an issue where I need to remove the underline from hyperlink text when printing a web page. I'm trying to accomplish this with a stylesheet, but the current stylesheet I'm working with is designed strickly for display and not printing. I added the following code;

@media print {
A:link {
background-color: #FFFFFF ;
color : #000000 ;
text-decoration : none ;
}
}

but no cigar. After some research it appears that a separate stylesheet must be used to control print style. Can anyone comment on this?

View Replies View Related

Needed On Error Message

I am doing a database driven website using ASP/VBScript and Access. I use a

A server timeout has occured. Here are the possible reasons

1.Please make sure the web server is up and running.
2. Please verify that the ODBC DSN exists on the testing server

I use the connection string

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("Inventory.mdb") and when I test the database connection , it is successful. But when I try to open a recordset in Binding section in Dreamweaver MX, the error message was displayed. COuld anyone tell me what is it? I am using IIS as a testing server. Do I need to do any settings for this problem?

View Replies View Related

Redirect Script Needed

I have a bilingual website, of which the folder structure (and naming convention) is exactly the same in both English and Dutch sections. At the bottom of each page there is a link to switch language, which will take you to exactly the same page in the other language.

I need to develop some script that will look at the URL and take them to corresponding page, (e.g.):

mysite.com/en/homepage.htm

- replace the /en/ element with /nl/ (and vice versa)

mysite.com/nl/homepage.htm

Hopefully that makes sense?! Look forward to reading your posts!

View Replies View Related

ASP On Linux Solution Needed

For ASP on linux, what would the best solution be? Any particular programs suggested?
Right now, running CentOS. We have jsp and ASPX .

View Replies View Related

Dating Script Needed

I need a free asp based dating script having database function using ms access.

View Replies View Related

Super Simple Cart Needed

I need a super simple 100% ASP and/or VBScript shopping cart. No JavaScript allowed!

Can write to cookies, but not a database. (Sessions maybe OK) I don't need any special buttons and whistles and fancy features. Just want to add product, recalc, empty and checkout. No prices and no shipping charges needed.

View Replies View Related

Connection String For A MySQL Database Needed

I'm trying to get asp to conect to a MySQL database, I've tried copying a few examples online that I found [there doesn't seem to be many!!] and I always get a 500 error with the code below. what am i doing wrong? any examples of a working connection string anyone could show me would be fantastic.

View Replies View Related

Expert Suggestion Needed For A Asp Based Web Application

We have a couple of web applications where data is updated on a weekly
basis. The data entry is done in a vb access application which is kept
internal. The database is uploaded to the web which has a web interface for
clients to check their records. Thus dat a gets updated once a week.

In a new application, I would like to build a single web based application,
where the data entry is done from the same application and clients would look
up their records from the web. The clients should have only read access. In
other words, I would like to do the system real time. My question is whether
I would face any problem when somebody needs to edit a record while a client
wants to read record.

View Replies View Related

Simple Form Html Code Needed

i have a database and the asp file. my database will have one table, a user table, with various fields like username, password, name...age.. all i need is the html code to make a simple form such as

Welcome to the add user page:
PLease enter a username (input box)
Please enter an email address (input box)
finally a submit button.

i then want the variables to run a 'signup.asp' file which i have, and be placed into a database.

View Replies View Related

Writing To DB

Ok, for my company, we have two current webpages, one for general company info and one specific to a product that we market. On the 2nd page, there is a form that allows users to request a consultation from the company. When it is sent, the information is stored in an Access DB for tracking purposes.

Now, I have been requested to put this same form on the general company website. All works fine, but I can't save to the db that is stroing the info once it is submitted. Boith sites are hosted by the smae company, but they do not have (as far as I know), a shared repository for files where I could put the db.

Does anyone have any suggestions as to how I can get around this issue? What I want to do is to have the form on both sites and have the submitted data saved into the one database.

View Replies View Related

Not Writing To My DB

I'm not getting error messages on this one so I don't know where to start looking. I type in my data in my form and this page should check it, add it then set a flag. Code:

View Replies View Related

Writing Out XML With ASP

I have to perform a database query and write the results to an XML
file.

I also need to form this XML file with a DTD file.

I'd like to hear some opinions on the best way to do this.

I figured out how to write out just raw XML using adPersistXML. But
that doesn't really help as the XML needs to conform to the DTD.

I also found a way to write out the XML file line by line
using .createNode and .appendChild...but that would take forever as
the database query returns 72 columns.

View Replies View Related

Writing Xml To Asp

i need have a problem on line 86 of this code. Could anyone suggest problmes.

The bit in red is where i think the problem is, but may be wrong. it is where it says the problem is in the browser when i go to run it Code:

View Replies View Related

Writing Few Messages

I have the following code as a part of authenticating a system.
If Rs.eof Then
Session("Authenticated") = 0
Response.Write "Sorry, your userid or password did not match"
Response.Write "<BR>"
Response.Write "or you have not registered yet. Please register"
Response.Redirect("login.asp")
Else
Session("Authenticated") = 1
Response.Redirect ("Welcome.asp")
End If
In the first if statement, I would like to display the above messages
before forcing the login.asp page to display. Is is possible to do both
message and contents of login.asp in the same page? Thanks

View Replies View Related

Writing PDF Docs From ASP

how to write PDF documents from inside
of my ASP application. I understand that there are commerical APIs , SDKs that
I can use. eg. cutePDF.

View Replies View Related

Writing To A Database

i am having problems figuring out the syntax used when writing information to a database thru a dropdown.
i have a dropdown w/ all the months listed and i need this recorded into a database where i have already set up a column named "month".
right now all i have is html that says:

Code:

<select name="month">
<option value="January">January</option>
<option value="March">March</option>
<option value="April">April</option>
....... and so on.......
</select>

View Replies View Related

Writing To Excel

I have an asp page that queries a database and displays a report. There is a
button on this page that I would like to dump the report into Excel. The
code behind the button:

var xl = window.open("/reportexport.asp", "_blank");

and a new window is displayed with excel. Now the problem is how do I get
the report html into this new window?
xl.document.write(window.document.body.innerHTML); is obviously not the way
since it doesn't work.

reportexport.asp contains only two lines:
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "filename=report.xls;"

View Replies View Related

Writing Cookie

I've been having problem writing a cookie. Everything goes ok but when I
supply the .Path property to "/" It just write the cookie when there is no
cookie present, but when I try to update the cookie (or overwrite the cookie)
it doesnt change it.My requirement to supply the path to "/" because ASP.NET reads it. If I write the cookie without supplying the path, the ASP.NET pages are unable to
read the cookie.

View Replies View Related

Writing To The File

I have written a program where according to my query all the ouput is written to the text file. I want to add 3 lines to my text file which are needed so that it can be exported into outlook. Code:

View Replies View Related

How Can I Writing To A File

how can i write to a file and save to it by coding.

View Replies View Related

Writing To A Log File Using ASP On IIS

We have an existing ASP app that is doing a very simple form submission to an Access db. So it opens a connection does a write and closes the connection.

The problem is that every other form submission is failing because of an "Unspecified Error" - according to our IIS web server log.

I have 2 things I'd like help with.

1) Writing to a log file:
I'd like to write to a log file (either the web servers or a different one) from the server side code within the ASP app. So, once the code opens the DB connect I would like to know it was a success. Once it writes, I want to see the string its trying to put in, etc...

How would I do this in our ASP/IIS environment?

2) Catch errors:

If I'm opening a db connection to this access db, how can I be sure the connection is a success? does a value get returned that would indicate success/failure? if so how do I capture it?
I'm speaking of some type of try-catch system.

is there another approach I should be taking to debug this problem?

View Replies View Related

Writing ASP Files Using ASP

I have been playing with an idea that generates ASP files using an asp document and the file system object, so far it is doing great except one thing, when I have a chunk of text and I need to include an asp bracket ("<%" or "%>") regardless of being within the "quotation" marks the active asp document assumes it is a part of its own code and the script errors.

To get around this currently I am writing brackets like this "[<]" or "[>]" and then swapping them out of the generated ASP page using dreamweaver after creation.

The question is: Does anyone know how to represent asp brackets within a string being processed using asp??? Code:

View Replies View Related

Writing To .txt File

Im using this code to write information to a .txt file :

Dim objFSO, objTextFile

Const ForReading = 1, ForWriting = 2, ForAppending = 8

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.CreateTextFile("C:Domainsattle-hq.comdbaction_log.txt", True)

objTextFile.WriteLine("This line is written using WriteLine().")

objTextFile.Close

Code:

View Replies View Related

Writing File

im writing an asp code to extract data textfiles from the server using FSO, but when I run the script the file were save at the server drive(c not on my local drive

View Replies View Related

Writing Cookies

writing cookies seems to be a no brainer, but for some reason, my temporary internet folder does not contain any of the cookies when run the pages. i am starting to think that it may be IIS 4.0. anyhow, these are the cookies that i writing:

<%
Response.Cookies("userInfo") = "quiz2.asp"
Response.Cookies("userInfo").Domain = "localhost.com"
Response.Cookies("userInfo").Expires = "August 31, 2004"
Response.Cookies("userInfo").Secure = True
%>

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved