You must Sign In to post a response.
  • Category: Visual Studio

    Proxy athentication setting using vb6

    I want to auto fill proxy authentication value of username and password for ie using vb6. how to write code for auto click on ok event in vb6 for proxy authentication.
  • #750598
    It is the browser feature to remember the user credentials and display it in the login form whenever user tries to login from the site.

    If you are using client side cookies to perform authentication then you can set the cookie expiry period to never so that the authentication cookie never expires and user can always login using the prepopulated data which comes from client side cookies in the browser. Something as below sample code. This is just an example so that the cookie never expires and can be reused for every time user login.

    HttpCookie c = new HttpCookie();
    c.Expires = DateTime.Now.AddDays(-1);
    Response.Cookies.Add(c);

    Miss. Jain
    Microsoft Certified Technology Specialist in .Net

  • #750618
    Hi,

    I think its a browser feature and explicit we can't fore the browser to save the user name and password. What the best we can do is to create long sessions so that when ever you can come back to the same site, you will be logged in.

    Thanks,
    Ashutosh Jha
    http://tricksroad.com


  • Sign In to post your comments