|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|