I understand that the variables I define inside the subroutine are local only to the
subroutine. If the same variable is defined outside the subroutine, it won't conflict
(right?) What about variables that are defined outside the subroutine, but not inside? Are they available inside the subroutine?
I'm building a system that flags Spam phrases and brings them to the attention of admins. I have a table with a list of about 90 terms and I want to show any rec ords that display them so Admins can determine if they should be deleted. The method I'm using is: Building String Code: oString = "SELECT int_RecordID, txt_RecordName, txt_RecordDescription FROM dbo.qryRecords WHERE txt_RecordName LIKE '%Viagra%' " & Call subSPAM & " ORDER BY dte_RecordStarted ASC"
There is a chapter on SUBROUTINES, FUNCTIONS AND INCLUDES.what is the difference between SUBROUTINES and FUNCTIONS. If not mistaken, in VB, the SUBROUTINES return no value, but FUNCTIONS do have return value.Variable in ASP: global versus local.variable not in betweeb function is Global (what about subrountine, is it the same) and variable in between function is local, am I right?
I am using IIS 5.0, ASP and VBScript. I am puzzled by recurrences of errors when I nest subroutines, and I'd like to know if there are rules for that which I don't know. Would functions work better instead? I am not much of a coder.
When I try to email a private message to someone who responded to my posting it tells me that i don't have priviledge. I am registered but don't understand why I cannot email a private message to anyone.
I am trying to create a Private Messaging system for my Simple log in system, I am making forums my self, but i am not sure how to put a private messaging system in, could some one please give me the script plz?
What is the "right" way to redirect to an internal server from the outside? In other words, users can connect to my website and then I need to be able to redirect users with the correct login to a server with an internal address (10.x.x.x). Obviously I can easily redirect them with the address, but the idea is to protect the internal address from the outside.
I tried linking from the public site to a script page that simply redirects to the internal address, but the internal address still appears in the address bar and I don't know how to map it to a name without every user needing a host file entry. Anyone know of a way to do this? Basically the purpose of this is to allow external users to connect to an internal server to view proprietary data.
how to view my database without making it a webpage for everyone to see. I would like to create a form and intake client name and phone number but I don't want the information available to the publicc to view. Is this possible. I use frontpage2002, windows millenium, and asp and frontpage extensions.
I'm having a bit of trouble with a subroutine I am calling when it is invoked for the first time. When the subroutine runs, I expect it to return a value for every time it is called. However, it seems as though the first time it is run, I don't get any returned values. However, subsequent returns will get me something back. Code:
As I ran in to errors like "Ran out of memory" and "Out of memory" I supposed my website might have memoryleaks. To trace a potential memory leak I isolated the IIS process and monitored the 'Virtual Bytes' and 'Private Bytes' for a while.
I noticed the private bytes stays 'low' all the time. Sometimes a bit up, sometimes a bit down. Virtual bytes also follows the same pattern for most times. But, sometimes it increases to almost 2gb en stays there.
I've been reading for memory leaks an aggressive caching and stuff and was wondering when there is a memory leak. In short: what does it mean thet the amount of virtual bytes stays high? Is this probably due to caching or....?