CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 global functions

Print topic Send  topic

Author Message
fmbma

Posts: 58
Posted: 04/16/2004, 3:32 AM

In asp, where should I put a function I want to make available to all pages? I'm assuming in common.asp, but are there any issues with it being overwritten?

thanks
View profile  Send private message
Robert Rodgers
Posted: 04/16/2004, 3:51 AM

It won't be overwritten as long as you start in a white band. But I have a page of my own functions. I just include it at
the top of the common.asp file. Then I can easily reuse them in more than one project.

rob

"fmbma" <fmbma@forum.codecharge> wrote in messagenews:6407fb6391765a@news.codecharge.com...
> In asp, where should I put a function I want to make available to all pages?
> I'm assuming in common.asp, but are there any issues with it being
> overwritten?
>
> thanks
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

peterr


Posts: 5971
Posted: 04/16/2004, 10:25 AM

I usually put custom functions at the end of Common.asp , just before "%>". They will not be overwritten, as long as you place them within the white-background areas of the code. The grey backrgound areas indicate the generated code, which is best left unchanged.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
fmbma

Posts: 58
Posted: 04/16/2004, 11:54 AM

thanks!!!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.