ASP issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MS

    ASP issue

    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.


  • Patrice

    #2
    Re: ASP issue

    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.redir ect)

    From an ASP page, you could call another ASP (or whatever) Web based page on
    a Linux server using ServerXMLHttp object :


    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

    --

    "MS" <anonymous@disc ussions.com> a écrit dans le message de
    news:ui9N4XGWEH A.3016@tk2msftn gp13.phx.gbl...[color=blue]
    > 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[/color]
    server.[color=blue]
    >
    >
    > 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[/color]
    place[color=blue]
    > 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[/color]
    have[color=blue]
    > a form html on that server, can he run asp script which is on Linux[/color]
    server[color=blue]
    > to get form result on his desired email id.
    >
    >[/color]


    Comment

    • Jeff Cochran

      #3
      Re: ASP issue

      On Tue, 22 Jun 2004 20:04:10 +0530, "MS" <anonymous@disc ussions.com>
      wrote:
      [color=blue]
      >Can a ASP work like a CGI.(Email Scripts) ?[/color]

      Yup. See:


      [color=blue]
      >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.[/color]

      Sure. Don't know many valid reasons to do this though.
      [color=blue]
      >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.[/color]

      Then use those. ASP can trigger a CGI script too.
      [color=blue]
      >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.[/color]

      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

      Comment

      Working...