Results 1 to 4 of 4

Thread: Auto login windows app to asp.net web page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Auto login windows app to asp.net web page

    Hello There,

    I have this requirements on my project and i dont know where to start. i need to create a web page using asp.net that accept parameters username and password and this page will be called by windows application, so windows app will pass username and password in order log in my web page.

    i did some google and still dont get it.. they say it can be done using POST method in the form..please guide me on this..

    thank you in advance!

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Re: Auto login windows app to asp.net web page

    Is this a windows application that a user will be using or an application that will be running unattended?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Re: Auto login windows app to asp.net web page

    Quote Originally Posted by Fishcake View Post
    Is this a windows application that a user will be using or an application that will be running unattended?
    lets say my log in form will be in windows application when a user type username and password in the form which is in a windows app .. it should be logged in into my web page or website..

  4. #4
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: Auto login windows app to asp.net web page

    Interesting.I haven't done something like this but what i am thinking is using a web service as the middle tier, pass the log info to the web service that will use the asp.net membership provider to log you in and return.Actually i don't know if this will work but you can give it a shot.
    The second thing to do i guess is to use the windows forms WebClient class or HttpWebRequest and HttpWebResponse. Good luck.
    Last edited by sapator; Jul 4th, 2012 at 06:19 PM.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

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