Redirect to URL in database

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Redirect to URL in database

    Okay, i have a slight problem. I have developed a login page for section
    managers of my workplace. Once they login it should take them to a page that
    displays their personnel and there training status. I have their login,
    password and URL to their page in a table that is in the database.

    So heres how i have it now. They login and it sends there id and password to
    validate.cfm. This page checks the id and password and verifies it matches.
    There are several IF statements in this validate page to determine who the
    person is, and what URL to go to. On the screen they just see a page that says
    LOADING and it has our logo on it. I was using a javascript redirect so the
    page would redirect to one particular page. I used this for individuals and it
    worked fine b/c the template page worked for everyone. Each page for the
    managers is different however (different types of training) and it needs to be
    sent to their particular page listed in the database or in an IF statement.

    Is there anyway to have an auto redirect to their URL that is in a database or
    one that i list in an IF statement? Please Help!

    coryd218 Guest

  2. Similar Questions and Discussions

    1. redirect page using database entry
      i have a database coloum called 'credit'. it has got numbers(Currency, amount in INR). When i click Remove Money it deducts(minuses) the amount from...
    2. Delete form redirect if not in database
      Hello:-> I'm having some difficulty trying to get my delete form to redirect to another page when the incoming data doesn't exist in the...
    3. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    4. Passing database info to page allow user input then pass into another database
      Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Redirect to URL in database

    What about using <cflocation addtoken="no" url="......">

    This should do the job if I am understanding your question correctly.
    simontux 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