Best way to hire parameters from user

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Best way to hire parameters from user

    Hi, I have a question on passing parameters via links. Lets say a user gets
    a list of all invoice header records that he has layed out in rows of a table.
    One of the cells in the row is a link to the invoice detail for that header. I
    would put a link to the .cfm page that displays the detail, say like this
    viewinvdetail.cfm?invnum=987987 Now, normally I would combine that with a
    session variable in my query in order to prevent people from displaying
    invoice's that are not theirs by just entering in different invnum's on the
    browser address bar. Now lets say this isn't possible for a particular query.
    what is the best way to 'hide' the parameters from the user? I can use the
    encrypt and decrypt functions but I am wondering what the best practice to do
    this with? Thanks in advance!

    spoliskey Guest

  2. Similar Questions and Discussions

    1. New Hire needs Help ASAP!!!
      I'm trying to get started using ColdFusion to test new applications, but am unsure of exactly how to use the current configuration. I have used...
    2. Adding Dynamic User Control WITH PARAMETERS
      Is there a way to dynamically add a user control to a page, AND before the page_load of the user control fires, that you have some of the public...
    3. Looking to Hire
      Hello, I am looking to hire a highly skilled Director 3D freelancer to create an interactive program for my client (and yes, this is a paid gig). ...
    4. Passing Parameters to User Controls that are Dynamically Loaded in Placeholders
      Hi Guys, I have been having a big problem with trying to pass parameters into a user control when the user control is dynamically loaded into a...
    5. Passing parameters to user controls
      Hello. I'm having problem with passing parameters from .aspx file to user control. Could anyone tell me how to pass parameters from .aspx file to...
  3. #2

    Default Re: Best way to hire parameters from user

    encrypt/decrypt should work well, you could also generate a random string and
    use it as a primary key in a table with invnum as a foreign key. I have used
    that technique when the link was too long for a url, I just stored the values
    in a table.

    encrypt/decrypt is probably the easiest way tho.

    kyle969 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139