Request("MM_EmptyValue")

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Request("MM_EmptyValue")

    Hello, I am trying to figure out what Request('MM_EmptyValue') means. I see
    this in my code, but I 'm not sure where the value is coming from. If someone
    could help me out, I'd appreciate it. Here's more of the code below(The code is
    checking to see if a user is logged already logged in): <% Dim
    rsLoginCheck__MMColParam rsLoginCheck__MMColParam = '1' If
    (Request('MM_EmptyValue') <> '') Then rsLoginCheck__MMColParam =
    Request('MM_EmptyValue') End If %> <% Dim rsLoginCheck__var rsLoginCheck__var =
    '0' If (Session('svUserID') <> '') Then rsLoginCheck__var =
    Session('svUserID') End If %> <% Dim rsLoginCheck Dim rsLoginCheck_numRows Set
    rsLoginCheck = Server.CreateObject('ADODB.Recordset')
    rsLoginCheck.ActiveConnection = MM_ConOnline_STRING rsLoginCheck.Source =
    'SELECT * FROM tblActiveusers WHERE Online = ' +
    Replace(rsLoginCheck__MMColParam, ''', '''') + ' AND UserID = ' +
    Replace(rsLoginCheck__var, ''', '''') + '' rsLoginCheck.CursorType = 0
    rsLoginCheck.CursorLocation = 2 rsLoginCheck.LockType = 3 rsLoginCheck.Open()
    rsLoginCheck_numRows = 0 %> <% If Not rsLoginCheck.EOF Or Not rsLoginCheck.BOF
    Then response.redirect('login.asp?error=3') end if %> Thanks in advance

    volleythree Guest

  2. Similar Questions and Discussions

    1. "HTTPService" and "request"
      what I basically want here is to use the "request" in ActionScript instead of MXML... for example how can I have something like this? ( this code...
    2. "error Occurred while Processing request" uponColdfusion installation
      Hello Im aboslutely new to web development, except for being able to produce not dinamic web pages. I am a beginner to Coldfusion, and I have...
    3. CFMX7's numerous "request has exceeded the allowabletime limit Tag" bomboffs
      Prior to CFMX, you could bump up the RequestTimout on the URL, example: mypage.cfm?RequestTimeout=120. Under CFMX (6.1) you could do it with cfset...
    4. Automatic Login - Forms Authentication - Request.ServerVariables["LOGON_USER"]
      Hi there, I'm busy building a site that authenticates users from a database but would like Windows authenticated users to bypass the logon screen...
    5. Request.Form("Field Name") Versus Request.QueryString("Field Name")
      I want to know what's the differences between Request.Form("Field Name") and Request.QueryString("Field Name") OR they function exactly the...
  3. #2

    Default Re: Request("MM_EmptyValue")

    volleythree wrote:
    > Hello, I am trying to figure out what Request('MM_EmptyValue') means. I see
    > this in my code, but I 'm not sure where the value is coming from. If someone
    > could help me out, I'd appreciate it.
    The is no value for it, hence its name.

    To my understanding it appears in your code when you create a recordset
    that uses an entered value instaed of say a session, url, or form
    variable. It's just a placeholder so that that code matches other code
    that is used in other styles of data access so that DW can properly read
    in the code when you try to modify the recordset.

    HTH

    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* 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