Ask a Question related to Dreamweaver AppDev, Design and Development.
-
volleythree #1
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
-
"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... -
"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... -
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... -
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... -
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... -
danilocelic *TMM* #2
Re: Request("MM_EmptyValue")
volleythree wrote:
The is no value for it, hence its name.> 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.
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



Reply With Quote

