HighTechTalks DotNet Forums  

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

Dotnet Security microsoft.public.dotnet.security


Discuss CryptographicException - Bad Data when changing from SSL to no secure connection in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
z. f.
 
Posts: n/a

Default CryptographicException - Bad Data when changing from SSL to no secure connection - 03-06-2005 , 04:22 AM






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.CryptographicExceptio n] - 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.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.