Need A Solution

After a member registers, he's able to access and download any file
available. We want to avoid the end user being able to distribute an URL
to these files thereby making it simple for other users to download them.
Solution I'm working on:
I have a variety of files (html, pdf, doc, xls, and others) sitting
outside my "wwwroot" folder. I have an ASP script which checks the MIME
type for the given file and now, my problem is, how do I use the
FileSystemObject to grab those files and display them to the user?
Let's suppose the user is requesting demo.html. I use the FSO to open
the demo.html in the folder outside the wwwroot, and then set the mime
type and then what do I do? Response.write? What about binary files
which need to trigger a download action?

View Replies


ADVERTISEMENT

Asp Solution?

1. SELECT VALUES FROM TABLE A WHERE ID=5

2. I create an array x(0,n), and I populate n with the values based on
select above.

What I have... I have x(0,1)
x(0,2)
x(0,3)... and so on.

Result:> I need to have variable called
varx that should consist all the values from x(0,1), x(0,2), x(0,n).

So I need to declare varx = x(0,1) & "," & x(0,2) & etc.

1. question. I don't know how many elements I would have, coz they depends
on "select".

2. Can someone give me example how I can dynamicly create (parse) this
values in single variable, so I can send this values to pageB.asp

View Replies View Related

Forum Solution

my client wants a forum integrated in his website. Ive found some existing forum solutions (snitz, carbon communities etc...). These are great, but my client wants the forum working whereby when a user posts, the post is sent to the clients who then confirms or denies the post. The forum is for a school, hence the very tight regulation of posts.

Does anybody know of an existing forum which allows this functionality (preferably a free forum).

View Replies View Related

Print Solution

I am trying to implement a printing to file solution of a html page on the server. What I have is a form with a IE control that loads the page I want to print to.

I am using execWB command for printing. Printer's port is set 'To file'. Everything works fine when I am running that component from a desktop apps. But when I call that component from an asp page nothing is happening. I dont see any dialogs popping up on the screen.
BTW, if I print to a printer works fine either.

View Replies View Related

Easy Solution

I'm hoping for an easy solution to this that I'm not seeing that
someone more experienced will.
All I want to do it mark an option tag as selected....

<%
hourCounter = 1
Do WHILE hourCounter <= 12 %>
<option value="<%=hourCounter%>" <%If hourCounter =
hour(rsCalendarEdit("fld_calendar_DateTime")) Then Response.write "
selected" End If %>><%=hourCounter%></option>
<% hourCounter = hourCounter + 1
Loop
%>

The trouble is if the time is "PM" I have a problem as you can see. Is
there a method or property here I can implement that I'm not seeing?

View Replies View Related

Any Integrated ASP & FTP Solution

I'd like to know if there is any robust FTP solution out there that
integrates well with ASP applications. In particular, it has to allow huge
uploads over 3 gigabytes in size. It must have the ability to resume
incomplete uploads by the users.

View Replies View Related

Charting Solution

What's the best free method of getting attractive looking charts to display data from a DB.For example, in my next project i will need to show the change in someone's weight over time. The different weight in pounds(lbs) will be entered into the database along with the date that the weight was entered.

Whats the best way to show it? I can't install any 3rd party com's on the server.I have seen a website offering a flash based solution. Is this the best way? Ideally i would like a line graph, rather than a bar chart.

View Replies View Related

Dictionary/Solution!

I need an ASP dictionary/glossary script. I saw a bunch of options online for PHP but almost nothing for ASP. I'm not a programmer....but can install working code and connect a database. can anyone recommend a tutorial or even better a finished working piece of code I can implement to create my own dictionary with custom definitions?

View Replies View Related

AdRotator Solution

I am using adRotator to rotate some reminders on my intranet site. I have a
redirect page name redirect.asp that recieves the querystring variable, 'url'
and redirects the user to that page. One of the reminders should be
redirected to a url that contains query strings itself. The url passes in the
string up to the first '&'. What should I do. Here is the code on the page
displaying the ad: Code:

View Replies View Related

Relative Paths Solution

Can anyone help me find a solution to quickly working out relative paths to
a folder in the root of my server...

Although it easy when you go - say - two levels down:

.../includes

it becomes increasingly difficult to ball park the folder when you go deeper
and wider down:

.../.../.../includes

....How do you guys get a quick fix on where the hell the folder or file is
and use that path in asp?

View Replies View Related

Looking For A 'change Password' Solution

I am looking for an asp change password solution. I know there are very
efficient ways of doing it and perhaps you have some samples or ideas.

Basically I would like the user to be able to change their password. Then a
link is mailed to their email address on file and when they click on the
link, they are taken to a place to type in a new password.

View Replies View Related

Submit Button Solution

i have a simple form in a html page.
the form successfully sends data to my database using asp.
currently sending details using
<input type="submit" value="Submit">
which as you know uses the small grey box Submit button.
what i would like instead, is that instead of using this default button to submit..
i could replace that with a roll over image, that is compiled of the 2 files
submit.gif and submit-white.gif
and when it is pressed, the form details are posted, how can this be done

View Replies View Related

Mod_rewrite Or An Alternate Solution

I am in need of something like mod_rewrite or an alternate solution.

I have a client, who's website is all HTML files (200+ files) and was previously password protected by javascript only. Anyway, what I need to do is password protect the site using a better solution, which would be a server side scripting obviously.

I am familiar with apache's mod_rewrite and PHP, which would make this problem easy to solve by simply passing the HTML file to a php file, then after neccessary security checks, pass the requested html back to the browser..

The only problem is that its on an ASP server and I have no knowledge of ASP. I am not even 100% positive what kind of server it is, I just know that .asp files work in it and .php does not.

Anyone know of something like mod_rewrite for ASP or an alternate solution that would work in my situation?

View Replies View Related

Domain Parking Solution In ASP

Anyone have Idea on how to create Domain Parking solution.
I have more than 150 domains which I want to park.
I m expert in ASP . Kindly Reply with an Idea / Logic behind domain parking solution.
I want something like goldkey dot com or Coolgoogle dot com

View Replies View Related

Building Solution Bugs My ASP

i recently started learning ASP and now i am trying to do some on my home computer.

After doing a few things in my ASP.Net application, i click Build -> Build Solution and then it says this in the output window:

Preparing resources....
Updating references....
Performing main complation....

and then it stays bugged at that section. Then i can go back in build and cancel the building process...

Anyone know what might cause this, my computer is fairly recent and i did re-install Visual Studio .NET to try and fix this problem without any success... I also tried making other applications and it does the same thing...

View Replies View Related

Client Timeouts. Need A Solution

we have a page, that posts some search results to the server.

however it takes a while to execute and return to the client.

we added a server.timeout = 120 to the asp script. but it still timesout

is there a "USER FRIENDLY" way to redirect the client to another page, pending execution of the server results ???

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

CLASS DOES NOT EXIST With IIS 5.1 SOLUTION!

Look for wspwsp.dll in windowssystem32 and add IWAM_"computername" (ie IWAM_MYCOMPUTER if MYCOMPUTER is he name of your computer) account with read and write permissions.

The support person who helped me with this issue told me they will create a knowledge base article for it!

View Replies View Related

Content Management Solution

I have a certain Internet project to develop,and I'm Interested in advices Regarding good development tools available in terms of getting Maximum job done in minimum time and minimum investment in buying third party development software.

In general,the project is to turn a static HTML website to a dynamic ASP pages Enabling the site owner a friendly interface to change its contents.In addition it a required to have the possibility to change the Website into a "members only" website allowing A registration process and an automatic or manual billing.

i was thinking that the use of some Content Management Solution is the most
suitable for this case.I would like to hear your opinions on the subject + references,
links,Recommendations for the easiest, cost effective ways to implement that
sort of project.

View Replies View Related

Online Form Solution

I manage one of our company's intranet sites. We're using RoboInfo software. I basically just publish documentation for our users. I want to add online forms to my pages so they can be filled in and I can receive in my inbox. I am looking at the best solution. I did have a basic html form online using POST, but the user gets those annoying popup warnings (one from IE, one from Outlook).

I wanted to create a php form, but my IT department says they can't install php on the server. Now I'm looking at an ASP form, which should work on the server. I've found scripts here that seem simple enough to set up. Do I need to know the smpt and port # to get an ASP form working? Anyway I can determine the smpt without contacting IT (they probably wouldn't tell me!). Any other solutions I can look at in creating online forms?

View Replies View Related

Sample Enterprise Web Solution

I'm looking for a sample ASP.NET enterprise web solution. There are many issues and questions I have about how a large web site is constructed with multiple developers.
How global settings and constants are managed. How global navigation and other global page settings are implemented, etc., etc.

Is there a complete sample "REAL" ASP.NET web site project created in VS.NET/C# available anywhere for me to download and learn from?

View Replies View Related

Database Editing Solution

I have a roster of people from a db showing up in a frame containing ans asp page. In order for the client to edit a record on the roster, I have an edit page opening up in a javascript pop-up.

I know how to edit the db but what I don't know is how to 'bind' the text boxes in the pop up to the correct record in the db (based on which record they selected to edit). Here is how it looks:

John Smith 12 123 Main Street Your Town State edit this

the 'edit this' is a link that opens the pop-up. How can I get the correct record to show up in the pop up?

View Replies View Related

Portable Database Solution

I'm thinking of developing a relatively small news system for my website, but I'm wondering if there is a nice free file-contained database solution. Access would be great except for the screwy licensing.

I don't like these server-based databases because I'd like to just plop the DB in a dir somewhere and have the system portable.

View Replies View Related

Solution For File Name Checking...

I need a solution that will run through all the files in a folder (specified path), and make sure that there names arn't the same as the file I have.

View Replies View Related

Is There Another Solution Instead Of (IF ElseIF Statement)

i tried both code,but i get the same error each time..& when i try the code for one SELECT statement or INSERT statement it works, i think then that i've no problems in my DB field types.. so is there another solutionplz trace both code) Code:

View Replies View Related

Mass Emails, Non-listserv Solution

My client does not want to use a listserv. He wants to send 5000+ emails,
once everyday to our members. Our hosting company has agreed to this.

What are my options here?
I know I can write a basic looping SQL script, but that would take
forever....

What about an "email queue" through SQL? But I cannot install any components
on the web server, so what options are there?

View Replies View Related

Open Source ECommerce Solution

We all know about osCommerce, which is an open source ecommerce solution written in PHP. Is there an open source project out there just like osCommerce for ASP.NET?

View Replies View Related

How To Open An Existing Web Site And Have It Appear In Solution Explorer?

Using VS 2003, how can I open an existing (localhost) website so that all of the website files appear in Solution Explorer the way they do with VS 2005?

View Replies View Related

Indexing Service Returns Bad Texts In Asp-solution.

I have a problem with a small asp-solution that searches for documents with
indexing service. For some files in the search result I get "bad text"
returned, such as Code:

View Replies View Related

Good Solution Access MsSQL From ASP [Classic] Use Intranet

I am greeting I would like to consult the better solution(with security consideration) to
the access is for MSSQL(2005) from ASP(Classic) in the system of the intranet.

a) SQL mixed mode and depositing user name and passwords for MSSQL of the
server in "connection string" (with open text)

b) Windows Authentication and to send rights to SQL of the server for
IUSR_computername
c) ?

Intranet(server ASP and MSSQL) in the company available from the any
computer, workers data (name and pass) they are being kept in MSSQL tables.
Problem is because Server MSSQL(Intranet) he will be replacing himself into
data with two MSSQL servers and with one PostgreSQL through Windows
Authentication.

View Replies View Related

Post Xml Data Back To External Resouces In B2B Solution

When an external resouce programmatically post the XML document as content
of http post request, and at server-side, I can read the XML data from http
request's body. Just like this example provided by Steven Chen:

#Happy Days Are Here Again: Posting XML to the Server
http://msdn2.microsoft.com/en-us/library/ms950790.aspx

After I process the data, I need to write a response message to the external
resource in xml data format(either succeful messge or failed message). what
people usually do, do I just write the xml message to response output
stream(let them extract from my page themselves) or
post data back to their page (which initially post/submit data to my server
program).

View Replies View Related

Problem When Searching For PDFs With Indexing Service In ASP-solution.

I have a problem with a small asp-solution that searches for PDF-documents with
indexing service.

For some files in the search result I get gibberish returned, such as ....

View Replies View Related

Javascript Cookie "Type Mismatch" Solution

I have some javascript ASP code that sets the expiry date on a cookie to five years from now. The code worked until today, when I got the following error message:

Microsoft JScript runtime (0x800A000D)
Type mismatch

The code:

View Replies View Related







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