ASP issue

M

MS

Can a ASP work like a CGI.(Email Scripts) ?

Can a ASP script for email will work, if a Script is on 1 server and
form(html.form) is on another server and a thank you page is on 3rd server.


Like if u don't know about a CGI there are many websites who give you
permission to use their script by editing little bit in yours form and place
them on yours server website, there are number of site.


And 1 more thing I want to ask is if some one use a windows server he have
a form html on that server, can he run asp script which is on Linux server
to get form result on his desired email id.
 
P

Patrice

What is the first script ?

You can always have something like :
- an ASP page that streams HTML content to the browser
- this form post the date to a page that is on another server (action
attribute on the form tag)
- this page process data and redirect to a third page on yet another server
(response.redirect)

From an ASP page, you could call another ASP (or whatever) Web based page on
a Linux server using ServerXMLHttp object :
http://support.microsoft.com/default.aspx?scid=kb;en-us;290591

I would still consider this perhaps a bit cumbersome architecture plus
you'll need to have 3 or 4 servers up and running to be able to perform this
task.

BTW for the particular point of using the "desired email id", is this
because the mail id is stored in a linux based data store ? You could also
perhaps access directly to the Linux datastore from your Windows ASP page
(for example to try to have all your web pages at a single location).

Patrice
 
J

Jeff Cochran

Can a ASP work like a CGI.(Email Scripts) ?

Yup. See:

http://www.aspfaq.com/show.asp?id=2119
Can a ASP script for email will work, if a Script is on 1 server and
form(html.form) is on another server and a thank you page is on 3rd server.

Sure. Don't know many valid reasons to do this though.
Like if u don't know about a CGI there are many websites who give you
permission to use their script by editing little bit in yours form and place
them on yours server website, there are number of site.

Then use those. ASP can trigger a CGI script too.
And 1 more thing I want to ask is if some one use a windows server he have
a form html on that server, can he run asp script which is on Linux server
to get form result on his desired email id.

If you're really masochistic, yes. Keep in mind you'll have a lot of
trouble writing an ASP email script to run on a Linux box.

I suspect you have a problem you'd like to solve and aren't asking the
correct questions to solve it. Why not step back and tell us the
problem so we can suggest potential solutions?

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,413
Latest member
KeiraLight

Latest Threads

Top