معرفی کتابخانهی DNTCaptcha.Core
نویسنده: وحید نصیری
تاریخ: ۱۳۹۵/۰۷/۱۷ ۰:۳۹
آدرس: www.dntips.ir
| مطالب | ۳۶۹۴ |
| نویسندگان | ۲۷۶ |
| گروههای مطالب | ۱۰۲۴ |
| نقشههای راه | ۱۱۹ |
| دورهها | ۱۴ |
| اشتراکها | ۱۷۹۱۴ |
isValidCookie:: هفت هزار و یکصد و چهل و هشت:�y��ă\�sVvy�S��
Fߌ���銖3? != هفت هزار و یکصد و چهل و هشت
[
{
"Key": "{OriginalFormat}",
"Value": "isValidCookie:: هفت هزار و یکصد و چهل و هشت:�y��ă\\�sVvy�S��\nFߌ���銖\u00053? != هفت هزار و یکصد و چهل و هشت"
}
]
Response.Cookies.Append("token", "value", new CookieOptions
{
HttpOnly = true,
Path = Request.PathBase.HasValue ? Request.PathBase.ToString() : "/",
Secure = Request.IsHttps,
Expires = DateTimeOffset.UtcNow.AddMinutes(7)
});
Error unprotecting the session cookie. System.Security.Cryptography.CryptographicException: The payload was invalid. at Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.DecryptImpl(Byte* pbCiphertext, UInt32 cbCiphertext, Byte* pbAdditionalAuthenticatedData, UInt32 cbAdditionalAuthenticatedData) at Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase.Decrypt(ArraySegment`1 ciphertext, ArraySegment`1 additionalAuthenticatedData) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData) at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
/dntcaptchaimage/show Error unprotecting the session cookie.
services.AddDNTCaptcha(options => options.UseDistributedCacheStorageProvider());
isValidCookie:: 31314Sq⫸�$�Ά��|K�Te��R��?��` != 31314
return _apiProvider.CreateDNTCaptcha(new DNTCaptchaTagHelperHtmlAttributes
{
BackColor = "#f7f3f3",
FontName = "Tahoma",
FontSize = 18,
ForeColor = "#111111",
Language = Language.Persian,
DisplayMode = DisplayMode.ShowDigits,
Max = 99999,
Min = 1001,
UseNoise = true,
});