CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Suggestion: HardCoding URL In ASP?

Print topic Send  topic

Author Message
Chris Moore
Posted: 07/23/2003, 10:10 AM

I am looking for suggestions on how to get around having to hard code my
websites address in my ASP code. Should I use a session variable and just
manually change it when the site goes live? What do others do to avoid hard
coding their URL in multiple pages?

Thanks.
Robert Sorrells
Posted: 07/29/2003, 5:23 AM

Hi Chris,

If you're refering to, say, having an image on page 1 that's hyperlinked to
page2.htm , then you would only specify "page2.htm" in the link, instead of
http://www.yoursite.com/page2.htm.

Bob



"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93C17C292E15Fcabubba@66.180.229.147...
I am looking for suggestions on how to get around having to hard code my
websites address in my ASP code. Should I use a session variable and just
manually change it when the site goes live? What do others do to avoid hard
coding their URL in multiple pages?

Thanks.


   


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.