473,839 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to call functions outside server-side script?

DS
As subject.

DS
Jul 19 '05 #1
3 2700
What is a "function outside server-side script"?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"DS" <an*******@disc ussions.microso ft.com> wrote in message
news:01******** *************** *****@phx.gbl.. .
As subject.

DS

Jul 19 '05 #2
DS
In client-side script (<script> ....</script>), I have a variable. How can I
get this variable in server-side script (<%.....%>)? Same as this case, how
can I handle a function like a variable? Pls advise.

DS
"Aaron Bertrand [MVP]" <aa***@TRASHasp faq.com> ¦b¶l¥ó
news:OK******** *****@tk2msftng p13.phx.gbl ¤¤¼¶¼g...
What is a "function outside server-side script"?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"DS" <an*******@disc ussions.microso ft.com> wrote in message
news:01******** *************** *****@phx.gbl.. .
As subject.

DS


Jul 19 '05 #3
DS wrote:
In client-side script (<script> ....</script>), I have a variable.
How can I get this variable in server-side script (<%.....%>)? Same
as this case, how can I handle a function like a variable? Pls advise.

Please don't multipost. This has already been answered in
scripting.vbscr ipt. To repeat: you cannot use a client-side variable in
server-side code. The only values available to server-side script are those
that it gets from the Request object, or those that it reads from a database
or file. In addition, the ServerXMLHTTP object can be used to request data
from another server-side page. No interaction with the user is possible in
server-side script.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6478
by: Steve | last post by:
Is it possible to call a function in another file from the Global.asa as you would with other ASP pages using the <!--#include virtual="/includes/functions.asp"-->? I need to access some functions from the Application_OnStart event, but can't seem to get it to work? Thanks, Steve
12
5833
by: dw | last post by:
Which is the most efficient way to hit the database: 1) to open/close the connection for each call to the database on a page (we have Subs that do this); 2) or use the same connection and close it at the end? My feeling is that 2 is better, but just wanted to confirm with the experts. Thanks in advance.
3
24016
by: Mariusz | last post by:
I want to write function to call another function which name is parameter to first function. Other parameters should be passed to called function. If I call it function('f1',10) it should call f1(10). If I call it function('f2',5) it should call f2(5). So far i tried something like CREATE FUNCTION . (@f varchar(50),@m money) RETURNS varchar(50) AS
6
2378
by: surrealtrauma | last post by:
i have a trouble about that: i want to ask user to enter the employee data (employee no., name, worked hour, etc.), but i dont know how to sort the data related to a particular employee as a group. i want to use a array object in the class but i don't know how..i am just learning the c++. So i dont know how to use class. in fact, i have writen like the following: class employee { public: employee();
1
1757
by: Zlatko Matiæ | last post by:
Hello. How can I call some functions on MSDE when working in Access (.mdb) that is connected to MSDE via ODBC linked tables ? Especially in-line functions, that I would like to use as recordset for my forms and reports. Can I call in-line functions using ADO ? I tried, but it seems that only stored procedures are allowed (adCmdStoredProc).... Thanks.
4
2510
by: Kevin Schultz | last post by:
Hello all. I am interfacing my computer to the outside world for an experiment and we would like to know how much time the calling function takes. The specs say this should happen on the order of a microsecond, which is faster than we need. We would like to call 30 or so of these functions in 0.5 milliseconds and before committing to purchasing this interface system, we would like to make sure it fits our needs. However, we are having...
11
3366
by: tshad | last post by:
I am setting up some of my functions in a class called MyFunctions. I am not clear as to the best time to set a function as Shared and when not to. For example, I have the following bit manipulation routines in my Class: ******************************************************************************* imports System NameSpace MyFunctions
24
6595
by: John | last post by:
I know this is a very fundamental question. I am still quite confused if the program call stack stack should always grows upwards from the bottom, or the opposite, or doesn't matter?? That means the stack pointer should go upwards when there are "push" operations, and stack pointer should go downards when there are "pop" operations?? If this is the case, the address should go upwards (increasing) or downards (decreasing) then? i.e....
6
2596
by: dennis.sprengers | last post by:
I am writing my own WYSIWYG editor. For inserting URL's, images, etc. I am not using html popups, but invisible DIV's of which I set the visibility to "visible" whenever I need them. Below are some parts of my code. It shows you the main function txtEditor, which creates an object instance. On creation, I load createPopups, which eventually has to write all "popups" to the document body. The situation is this: when I let the "image"...
5
2350
by: looi_sookchan | last post by:
Hi, I am new here.. I face problem when i try communicate two .exe together.. these two .exe i name it by App A and App B.. i try to call App A's function from App B's function.. i had create a App B's pointer at App A..name by BPointerAtA.. and i try to new this pointer ( BPointerAtA = new CAppB;).. when i compile..i have a compile error, which is.. --------------------Configuration: A - Win32 Debug-------------------- Linking...
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10586
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10647
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10293
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7017
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5866
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3133
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.