Comments (3)
شما احتمالا در حال آزمايش برنامه هستيد و هنوز مرورگر خودتان را نبستهايد تا سشن آن تمام شود. بنابراين مسالهي خاصي نيست.
حذف كوكيها به صورتيكه عنوان كرديد چند وهلهاي بودن را غيرممكن ميكند
from dntcaptcha.core.
به نظرم اگه زمان ایجاد شدن کوکی، تمام کوکی هایی که با 10 کاراکتر اول کوکی مورد نظر هستن پاک بشن، مشکل میتونه حل بشه
public void Add(HttpContext context, string token, string value)
{
foreach (var cookie in context.Request.Cookies.Keys)
{
if (cookie.Contains(token.Substring(0, 10)))
context.Response.Cookies.Delete(cookie);
}
value = _captchaProtectionProvider.Encrypt($"{value}{getCookieValueSalt(context)}");
context.Response.Cookies.Append(token, value, getCookieOptions(context));
}
from dntcaptcha.core.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.
from dntcaptcha.core.
Related Issues (20)
- Accept Unused Cookies (4.3.3) HOT 2
- validatorService.HasRequestValidCaptchaEntry always returns false , please see description below HOT 1
- SumOfTwoNumbersToWordsProvider always uses the same second component of sum generated in constructor HOT 3
- Ubuntu HOT 8
- امکان استفاده در دیگر SPA ها HOT 1
- عدم کارکرد noise در تصویر
- Captcha not showing when deplyong the system on server HOT 5
- didnt work on linux HOT 1
- i have used https://docs.sixlabors.com/ HOT 5
- رد تست امنیت از سوی بانک HOT 1
- csp راهکار حل HOT 7
- Change show image url HOT 1
- Blind User Accessibility HOT 1
- Update Package To Net8.0 HOT 1
- Set Number for Textbox HOT 1
- وابسته بودن به httpcontext و نبودن سرویس های جداگانه HOT 5
- captcha refresh button does not work after absolute expiration. HOT 1
- The "RateLimit" counts twice the configured quantity HOT 1
- [feat] Custom Controller Name HOT 2
- Special Characters in German HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dntcaptcha.core.