|
-
Jan 27th, 2005, 02:35 AM
#1
Thread Starter
Lively Member
call a function for each page load
hi,
im using the following code in each page to set that page as active:
'---Set this page as active ---
Dim lstSlsh As Integer = Request.ServerVariables("SCRIPT_NAME").LastIndexOf("/")
Session("ActivLk") = Mid(Request.ServerVariables("SCRIPT_NAME"), lstSlsh + 2)
'---------------------------
but i need to call this as a function and make it global so that each page in my application loads that should call the function to set activ page.
How to call a function in each page load?
v.r.mahendran
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|