FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD22] HTTPrequest Cache
[WD22] HTTPrequest Cache
Débuté par Sammy Broeders, 11 oct. 2017 10:47 - 1 réponse
Connectez-vous…
Sammy Broeders
#1
Posté le 11 octobre 2017 - 10:47
Hello all,
In my application i use a login to a webshop, the webshop opens in a html controle. Then the user can put items in the shopping cart, and with a httprequest you can put the items to a database in the application. It al works ok all the time till this moment, they have updatet the webshop to a new server. When i do the httprequest to receive the shopping cart, the first time it works ok, but the next time i receive the cart from the first session. When i restart my application it works ok for 1 time. It looks like the httprequest is the second time from a Cache in Windev. It that possible? So when yes, how can i delete that Cache?
Thanks in advance,
Sammy
Signaler
0
0
Fabrice Harari
#2
Posté le 11 octobre 2017 - 12:52
Hi Sammy
I do not understand your logic here...
So they change their server, you don't change your application, the behavior changes, and you think that somehow WINDEV is responsible?
From where I stand it looks like the problem is coming from their side... So what you can do first is to try and send the httprequest 'by hand' ie by pasting it in a web browser URL field... IF each time you get the same result, then you will be sure it's not coming from you.
However, if you want to solve the problem instead of finding the cause, you can try to add a random value as extra parameter (one that is NOT requested by the server).
So, at the end of your URL, you can try and add random=651651651651 with the value changing each time.
Normally, the server should see a different URL and therefore NOT serve cached content. As for the web site itself, it is not waiting for that parameter, so it should ignore it.
Best regards
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte