Sorry... from the source:

adp.c: * TODO: ns_adp_include -sameframe is dead; should issue a warning

You should omit it. Just remember that each include file executes in its
own callframe. There are APIs which can be used to pass arguments - take
the following example:

main.adp

<%
set name [ns_queryget name]

ns_adp_include header.inc $name
%>


header.inc

<%
set name [ns_adp_argv 1]
ns_adp_puts "name: $name"
%>

Hope this helps!


Nikolay Skachkov wrote on 8/11/03, 5:35 PM:

 > Hi!
 >
 > I am in process of upgrading an application from 2.3 to 3.5.10 aolserver.
 >
 > I have noticed there is a difference in tcl api, in particular
 > ns_adp_include had a -sameframe option, now this option is not mentioned
 > in the documentation.
 >
 > 1)Is there a document that describes the impact of these changes?
 >
 > 2)Would omitting -sameframe be a good idea?
 >
 > Nikolay


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to