Search

You searched for the word(s): userid:690390

Matching Posts

  • Re: PHP MD5 to .NET C#

    Okay, I changed the way I am doing things a bit more to make it like PHP. Now the length is a lot shorter but the results are still different. ----------------------------------------------------- function encryptString($string) { return md5($string . PASSWORD_SALT); } ----------------------------------------------------- PHP Result = "5b1980b160ae19131ae1a68c76685d1b" String Hashpass = "hello123" + "TheSalt"; String HashpassComplete = Convert.ToBase64String(new System
    Posted to Security (Forum) by belcherman on 12/2/2009
  • Re: PHP MD5 to .NET C#

    The problem is that the PHP version is with another company and part of their site login; they are using MD5 as the algorithim. How what I am designing will work with their site is: Scenario #1: People log into their site and the PHP hash routine is run; then the newly created hashed-password is then compared to a hashed-password stored in their database. If they match, the session is granted. At this point the user may click on our button and that posts to our site. This would then pass the username
    Posted to Security (Forum) by belcherman on 11/30/2009
  • PHP MD5 to .NET C#

    Hi all, I am in a project where I need to create a MD5 login that works like the PHP MD5 function. I have set this up and it seems to work but the results are not coming out the same. What I mean is the same login using the "PHP MD5" hashed password does not match the .NET hashed password. Both are taking a salt and the password and then creating the hash but the results are different for the same entered password. Simple PHP CODE: ----------------------------------------------------- function
    Posted to Security (Forum) by belcherman on 11/29/2009
    Filed under: MD5 C#
  • Re: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) SmtpMail.Send(objNewMail)

    I do that and it fails to register. What else can be done to make this work? Haven't run into this one before
    Posted to Getting Started (Forum) by belcherman on 8/28/2009
  • Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) SmtpMail.Send(objNewMail)

    Getting an error on a production server with the following: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) Source
    Posted to Getting Started (Forum) by belcherman on 8/17/2009
    Filed under: Library not registered
  • Redirect loop in asp.net C# website.

    Redirect loop in asp.net C# website. I have a asp.net 2.0 website using forms authentication that has a redirect loop issue. This happens if a user closes the browser by clicking on the X instead of logging out. The sessionID and sessions are stored in cookies and when the user closes the browser the session is still thier in the cookie. It will go by the timeout in the webconfig file of 15 minutes. I would like to override that on a browser close to destroy the session or some fix to stop thei redirect
    Posted to State Management (Forum) by belcherman on 8/13/2009
    Filed under: Redirect loop in asp.net C# website.
  • <location path="Login.ashx"> error in webconfig

    <!-- mbelcher - 8/13/2009 - Login --> <location path="Login.ashx"/> <system.web> If i put it like this it says tag not ended. <location path="Login.ashx"> <system.web> I put it like this then is says "the element 'location' has incomplete content" <location path="Login.ashx"/> <system.web> I am putting the location path in the web config like I have seen all over the internet yet it refuses to work in my webconfig
    Posted to Getting Started (Forum) by belcherman on 8/13/2009
    Filed under: location path - web config
  • Re: Grab files from a FTP server with ASP.NET

    I am looking right now. The only issue I see is that most of the examples show how to "Upload Files" and not how to "Download Files". I want to grab two files off an FTP server. I would also like to check to see if they exist before grabbing them. I am still searching but haven't found an example yet.
    Posted to Getting Started (Forum) by belcherman on 5/26/2009
  • Grab files from a FTP server with ASP.NET

    I am trying to implement a function as follows: There will be a button on the page that is named "Updated include files". This button when would run code to pull two files from an ftp server. This is where I am asking alittle advice on the best way to do this in code. I would have a username and password embedded in the code to authenticate to the FTP server and then grab the two files and copy them to a folder in the website. Another item would be to check and make sure the files exist
    Posted to Getting Started (Forum) by belcherman on 5/22/2009
    Filed under: FTP FILES TRANSFER
  • Re: Grab files from a FTP site and copy to a webserver

    Wow I stumped the enitre board :) Still workign on this one.
    Posted to Getting Started (Forum) by belcherman on 5/1/2009
Page 1 of 6 (60 items) 1 2 3 4 5 Next > ... Last »