CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to find which page is calling the include page

Print topic Send  topic

Author Message
AndyGB4

Posts: 122
Posted: 03/07/2012, 11:29 AM

Hi, is there a way to figure out which page is the one calling the include page?

For example:

I have a "mainpage.asp" and in it, I use an include page "includepage.asp".

In the include page, I need to hide a column based on what page is Including it.

So if its for example "mainpage.asp" show the column, if not, dont show the column.



Any ideas on how to do this?

I've tried some variable stuff but it really didn't work out for me.

Thanks!
View profile  Send private message
floydans

Posts: 1
Posted: 04/24/2012, 3:57 AM

I think you can just use "Filename" variable from your include page. It should return the name of the page executing (even if you are using it from your included page).
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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