Bug ? Lock a php file until it is processed ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gizmo

    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
  • Jerry Stuckle

    #2
    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@attgl obal.net
    =============== ===

    Comment

    Working...