WordPress.org

Ready to get started?Download WordPress

Forums

logging into wordpress from (non php) site (4 posts)

  1. smb
    Member
    Posted 7 years ago #

    I saw the thread about using cookies from outside wordpress, but that was a solution based on php, which doesn't suit.
    I need to have a transparent way to logon, whether using cookies or via IIS authetication methods.
    The rest of the site is (classic) asp - which doesn't present an issue on the cookies front, other than the MD5 hash.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    MD5 is a standard hash, it should be calculatable in any language. Like so:
    http://www.freevbcode.com/ShowCode.Asp?ID=2366

  3. smb
    Member
    Posted 7 years ago #

    Thanks! One I'd not seen before.
    Wordpress has a standard format for its cookies?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Not exactly, no. But the MD5 algorithm is a standard one. If you use the password as the input to that algorithm, then you'll get the hash that is in the password cookie. Meaning you can set the cookies with your ASP or what have you.

Topic Closed

This topic has been closed to new replies.

About this Topic