PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Does "WEBDEV Application Server - 10 connections" support HTTPS
Does "WEBDEV Application Server - 10 connections" support HTTPS
Débuté par Bo Brun Schor, 07 jan. 2025 13:26 - 2 réponses
Posté le 07 janvier 2025 - 13:26
Hi all,

Does "WEBDEV Application Server - 10 connections" support HTTPS?

I have Webdev 2025, and I have tried to set it up following the manual, but it does not work.

best regards
Bo
Membre enregistré
155 messages
Posté le 07 janvier 2025 - 15:54
Hello

I see your problem, you have an error when the number of users reaches 10, you have already seen the error, it is indeed this error with a limit of 10 users, here is a solution for you

You will have to follow first the limit of number of 10 users, then add a new file FIC_Connexion.fic which adds the numbers of connected users, finally add a new method which manages this limit because it causes a bug on the window if there is no this management

Here is some code you can use
// EDD (01/25): Create a new ClErreur Class
ClErreur est une Classe
m_bReturn is booléen
FIN

// EDD (01/25): Create a new Limited() method in the ClErreur Class
PROCÉDURE Limited()
LOCAL
eEntier is entier
sString is string
sdData is Source de Data
:m_bReturn = True
sString = "Select count(Identifiant) as count from fic_Connection"
IF HExécuteRequêteSQL(sdData, hRequêteDéfaut, sString) = False THEN
Info(ErrorInfo(errComplet))
EndProgram()
ELSE
HReadFirst(sdData)
IF NOT HOut(sdData) THEN
eEntier = sdData.count
HReadNext(sdData)
END
END
IF eEntier > 10 THEN
:m_bReturn = False
Info("Please reconnect after a few seconds.")
END

NB: You must always try to manage bugs by methods so as not to impact the window

Best regards
Mr.RATSIMANDRESY
Niry Aina Eddy
Posté le 07 janvier 2025 - 18:14
Dear Mr.RATSIMANDRESY

Thank you for your quick answer, and I will use you example code in my solution.

But I have not been clear enough in the formulation of my issue.

I am using the "WEBDEV Application Server - 10 connections" version of "WEBDEV Application Server", and I am trying to use HTTPS instead of HTTP, so my site is more secure to use for the user. The version is WEBDEV 2025.

In the WEBDEV Account Manager I have at the "OS Account"-page clicked the "Automatically generate a Let's Encrypt certificate" checkbox in order to get a certificate to support the site being reached by HTTPS instead of HTTP.

Is this function supported/available/working in the "WEBDEV Application Server - 10 connections"-version - or only in the full "WEBDEV Application Server"-version?

Best regards
Bo Brun Schor