PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Bug ? Lock a php file until it is processed ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Bug ? Lock a php file until it is processed ?

Réponse
 
LinkBack Outils de la discussion
Vieux 26/04/2008, 15h21   #1
gizmo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Bug ? Lock a php file until it is processed ?

Hello,


I have a combobox event which triggers a php file- itself outputting
an xml file.

On internet when 2 (or n users) users trigger this same combobox at
the same time but
with different values, there is an error.

I thought it was with the xml file and concatene it with an unique id
session to give the proper
user its proper results. (hence, one xml file for each request for
user A, userB, but also
userA when he choose a different value selected in the combobox and
after that a CRON)

But it is not sufficient.

Someone have a clue ?

Thank you
Tony - gizmo
  Réponse avec citation
Vieux 26/04/2008, 19h44   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Bug ? Lock a php file until it is processed ?

gizmo wrote:
> Hello,
>
>
> I have a combobox event which triggers a php file- itself outputting
> an xml file.
>
> On internet when 2 (or n users) users trigger this same combobox at
> the same time but
> with different values, there is an error.
>
> I thought it was with the xml file and concatene it with an unique id
> session to give the proper
> user its proper results. (hence, one xml file for each request for
> user A, userB, but also
> userA when he choose a different value selected in the combobox and
> after that a CRON)
>
> But it is not sufficient.
>
> Someone have a clue ?
>
> Thank you
> Tony - gizmo
>


If you actually have a different file for each request, you won't have a
problem.

But my crystal ball is broken, and you haven't shown us any code. How
about a stripped down version of your code which shows the problem?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h06.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10846 seconds with 10 queries