The correct way to just access a variable is:
<%= $variable %>
No need for "puts". This works also:
<%= [clock seconds] %>
Which puts the output of that command in the HTML.
But it sounds like you have a scope problem. Any way you can post your
actual code?
If you set the variable inside
Excellent, thank you, that was exactly what I was looking for.
On 15/03/2008, Michael A. Cleverly <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 15, 2008 at 12:03 PM, Xavier Bourguignon
> <[EMAIL PROTECTED]> wrote:
> > I want to call a procedure everytime a request starts and another proc
> > every
Hi,
I have a variable set in my tcl code. e.g: set uname "myuname"
how do I use this in my adp page?. e.g: Your username is: <%puts $uname%>
It does not seem to work, everytime i get a tcl error saying that
uname does not exists. I tried to make uname global, to no avail.
Thank you
--
Xavier
On Sat, Mar 15, 2008 at 12:03 PM, Xavier Bourguignon
<[EMAIL PROTECTED]> wrote:
> I want to call a procedure everytime a request starts and another proc
> everytime a request ends.
> Is this possible? If so how or where do I do that?
The command you are seeking is ns_register_filter (see
http:/
Hi
I want to call a procedure everytime a request starts and another proc
everytime a request ends.
Is this possible? If so how or where do I do that?
Thank you
--
Xavier Bourguignon
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL P