#1 2025-11-03 16:28:09

testgary
Member
Registered: 2025-02-06
Posts: 41

Captcha

Previously, I developed a TMvcApplication project. When users opened the registration page, the backend would generate a verification code and store the code data in a cookie via CurrentSession.Initialize.
When the backend needed to perform verification, I would compare the data in the cookie with the data submitted by the user.

Later, I decided to build a multi-frontend project encompassing HTML, Android, and Apple frontends, adopting an interface-based solution. The original method of storing session/verification code data in cookies is now obsolete. Additionally, I noticed that the interface-based approach in the source code already incorporates verification and session management mechanisms.

How should I proceed?

Offline

#2 2025-11-04 09:06:36

flydev
Member
From: France
Registered: 2020-11-27
Posts: 141
Website

Re: Captcha

You could enhance your scheme with a basic auth > OTP > JWT flow.

Offline

Board footer

Powered by FluxBB