|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: ASP - Frames |
From: |
harlan |
Date: |
7/30/2001 1:16:33 PM |
IP: |
209.244.250.8 |
The easiest way to do this would be to create a session variable when one of the subpages is loaded, with the value being the page name.
<%Session("subpage") = "this_asp_page.asp" %>
The frameset would contain something like this:
<frame src="<%
If Session("subpage") = "" Then
response.write "default_subpage.htm"
Else
response.write Session("subpage")
End If %>"> |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|