Results 1 to 6 of 6

Thread: send user and pass to another app

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117

    send user and pass to another app

    hi

    i want to send a username and a password to another application and to open it and show it to the user (if the user and pass is correct)

    i mean i have two progrems . one is mine and other is someone else that need a user and pas to enter it .
    how can i do it in asp,js,vbscriot,.....?
    thank you
    sharon

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Is the application on the server, or on the clients machine?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117

    server

    hi

    on a diffrent server that i have access to
    thank you
    sharon

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    It's pretty obvious that the EXE file will have to exist on the clients hard drive for this. Simply calling the EXE file would open it on the server, not the client's machine.

    The problem is, even if the EXE file exists on the client's machine, you will not be able to invoke it.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117

    install the user

    hi


    so i can i do it?

    do you have any idea


    i can call the page (http://dav../sapks/open.asp) but i can i install the user and pass in it and invoke the submit function
    thank you
    sharon

  6. #6
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    When you say you want to pass the user name and password to another application, do you mean a web application.

    If so then look at the log on page of the target application. It is most probably submiting the username and password to an url. Now if you look at the source, you should be able to get the nameo of the username and password field.

    Now you can simply call that page like

    [assume that the target application's form submits to open.asp]
    response.redirect "open.asp?Username='someusernasme'&Password='somepassword'"

    Hope this helps.

    Danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width