CryptographicException - Bad Data when changing from SSL to no secure connection

Discussion in 'ASP .Net Security' started by z f, Mar 5, 2005.

  1. z f

    z f Guest

    Hi,

    in a asp-vb.net web application, i have a login page.
    when i use the login page with http:// url, everything is fine,
    authentication works.
    when i work with https:// it also works.
    when i change from https to http after the login (only login works with SSL)
    i get the error
    [System.Security.Cryptography.CryptographicException] - Bad Data
    on the following line in the global.asax authenticateRequest

    Dim authTicket As FormsAuthenticationTicket =
    FormsAuthentication.Decrypt(authCookie.Value)

    what can i do? please help.
    TIA, z.
     
    z f, Mar 5, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dei401
    Replies:
    0
    Views:
    785
    Dei401
    Feb 2, 2005
  2. =?Utf-8?B?ZnJlcXVuZW5jeQ==?=

    CryptographicException Bad Data in Windo

    =?Utf-8?B?ZnJlcXVuZW5jeQ==?=, Jul 20, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    619
    =?Utf-8?B?ZnJlcXVuZW5jeQ==?=
    Jul 20, 2005
  3. jaekim

    CryptographicException: Bad Data

    jaekim, Sep 6, 2003, in forum: ASP .Net Security
    Replies:
    3
    Views:
    279
    jaekim
    Sep 7, 2003
  4. pmkatz
    Replies:
    0
    Views:
    398
    pmkatz
    Aug 25, 2004
  5. Replies:
    1
    Views:
    383
    MikeS
    Aug 27, 2006
Loading...

Share This Page