2 Replies Latest reply on Aug 11, 2008 11:32 AM by Joseph07888

    Update Record Form - HELP PLS x 1Mill & 1

    Joseph07888
      Hi Addt guys and Girls,

      I hope you can help as having issues.

      I also hope that the re-send activation email is working for everyone that myself and another chap from OZ helped develop.

      My Problem............

      I have created an update service but need to check one session and one URL Param.

      E.g. recordset displaying the records a user can update.

      Then the user clicks the link to update that record.

      That then takes them to the update form where it asks to either close or finish the service, event, or product.

      In that form I have selected for it to check PK with URL PK, but also need this to check with session kt_login_id.

      is it possible for ADDT to retreve the URL param PK and check the users session login (kt_login_id) at the same time.

      This is because of the simple thing that you could change the URL ID to another service, product, or event and amend someone elses stuff. "If ya get what i mean".

      I have tried adding another update trans but don't think it works or not using it right.

      Also linking trans

      I have been strug with this for a few days now and hope there is some clued up ADDT user that can help me........

      If you need more info to help with this question please let me know..............

      Cheers,
      Joe
        • 1. Re: Update Record Form - HELP PLS x 1Mill & 1
          Level 1
          Joe,

          Please explain what you are going to check the kt_login_id against?

          Are you going to query the database and check it against some value, or are you just checking to see if it's set?

          Thanks,

          Shane
          • 2. Re: Update Record Form - HELP PLS x 1Mill & 1
            Joseph07888 Level 1
            Hi Shane,

            I have used the kt_login_id for user form to update their details but in this case I can not use it because PK is referenced to the eventID.

            in the results page of the user it will only show the events they have created using $_SESSION['kt_login_id'] in the recordset.

            the member then selects the event they wish to update via a text link that takes them to a form.

            The form needs to ref the eventid and also check that the user who is updating the event is the user who created it.

            I have tried to pass a session veri for the eventid but can't get it to work. just keeps saying undefind when it is correct.

            link: http://www.adobeforums.com/webx/.59b61ffe/0

            at this stage the form is not secure and you can change the eventid in the URL. (This is not live and only on my testing server) but need to sort it out asap.

            so my thought was if i passed it via the link with a sesson veri, that the page that displays the users events to update is already secure then once clicking the link to the form. The form will then be secure by the passing of the eventid from the session.??

            I am still learning and hope you or someone can help.

            if that does not make any sense pls let me know.

            Cheers,
            Joe