Need to determin what page I am on

I have a number of pages in my web app.  Thay all share a header (see example asp attached).

In the code behind for KTHeaderSmall, I need to determine what page I am on.

How can I do this in VB code behind?
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="MainKTImportInstanceFromTemplate.aspx.vb" Inherits="KTManagement.MainKTImportInstanceFromTemplate" %>
<%@ Register TagPrefix="ah" TagName="Header" src="KTHeaderSmall.ascx"%>

Open in new window

LVL 1
wsturdevAsked:
Who is Participating?
 
JapyDoogeConnect With a Mentor Commented:

Request.ServerVariables("URL")

Open in new window

0
 
wsturdevAuthor Commented:
Excellent.  Thanks!!
0
 
JapyDoogeCommented:
Thank you! :)
0
All Courses

From novice to tech pro — start learning today.