Is it true that this code
fragment will be running from a 'connection' thread -- e.g., servicing
a connection. Use of the Ns_GetConn function implies that it is.
Are there any messages in your server log when you run this?
Mike Schilli wrote on 7/5/2004, 8:53 PM:
Hi
there,
I'm
, "ns_sendmail", to, " ",from, " ", subject, " ", body);status=Ns_TclEval(dsResult, Ns_ConnServer(conn), dsScript.string)
Mike
Schilli wrote on 7/6/2004, 1:30 PM:
Mark
Page wrote on 7/6/2004, 6:14 AM:
Is it true that this code
fragment will be r
This sounds like Connection Local Storage type of need. There is a set
of api's available in aolserver 4.0 which implement this, which you
might find interesting:
http://www.aolserver.com/40drafts/capi/api/newindex.htm
Specifically, for example,
As Dossy says, set your recvwait. Else, it defaults to socktimeout,
which defaults to 30 sec. But, given what you had shown, I'd expect to
see a message in the server log on a recieve timeout (readtimeoutlogging
== true). If you don't see that message in the log, check that you are
running a
In AOLserver 4.0,
ns_conn encoding
will return the name of the encoding currently set for the active
connection.
Tilmann Singer wrote on 5/27/2004, 12:46 PM:
How can I find out which characterset encoding aolserver uses to
return a current request?
Would it be correct to use:
documents. Do you mean ns/mimetypes?
Thanks.
Wei
--- Mark Page [EMAIL PROTECTED] wrote:
If you are using AOLserver 3.5 or 4.0, you can tell
it, via
configuration, what the character encoding of your
source files are.
This is described in the sample-config.tcl in top
If you are using AOLserver 3.5 or 4.0, you can tell it, via
configuration, what the character encoding of your source files are.
This is described in the sample-config.tcl in top of the aolserver
distribution tree.
For example:
ns_section ns/encodings
ns_param .utf_html utf-8
ns_param
I don't follow this. The Ns_CondTimedWait is defined to take an
absolute time value. (See
http://www.aolserver.com/docs/devel/c/api/c-ch49.htm#551016 ) So, you
don't want to change it to do adjustments assuming that what's given is
a relative time.
If what's going wrong is that it's getting a
By the way: It would be more proper to use the Ns_IncrTime api to
manipulate this timeval. E.g.,
Ns_GetTime(timeout);
Ns_IncrTime(timeout, 10, 0);
This makes more sense once the constant delta seconds is replaced by a
configurable value.
Rob Crittenden wrote on 2/23/2004, 11:58 AM:
would suggest that you increase this
timeout to at least 60 seconds.
Bas Scheffers wrote on 2/18/2004, 4:31 AM:
Hi Mark,
Mark Page said:
There is a configurable maximum upload size limit. This defaults to
1MB.
I knew it must have been something like that! Did the default change from
There is a configurable maximum upload size limit. This defaults to 1MB.
The specification is:
ns_section ns/server/${servername}/module/nssock
ns_param maxinput $yourmaxrequestsize
and is specified in bytes.
Note, you might need to examine the read timeout value specified. This
defaults to
On your ns_getcsv question; AOLServer 4.0 has broken out the DB API into
it's own module -- nsdb, whereas before you would get it as part of the
core.
What that means is that your server uses any of the ns_db apis, you need
to add nsdb.so to your modules section.
The surprising part, is that
On the running .tcl pages part (there are others who can comment better
on your postgres questions);
Try looking at what shows up in the server log file. This file will
either be flowing to standard-out, or to the configured 'serverlog' path
(defaults to $homedir/log/server.log; you've specified
There is a new command line argument which does this:
-b host:portnum
Artur Meski wrote on 12/1/2003, 5:39 PM:
How can I force AOLserver (4.0) to bind to the privileged port?
Is it possible to set privileged httpport in the configuration file?
Do I have to specify it on the command
If this is for diag/debugging purposes, you can urlencode your string.
That makes visible anything not an alphanumeric. If from within an
aolserver interp, ns_urlencode will do this for you:
puts [ns_urlencode $thing]
Scott Laplante wrote on 10/17/2003, 1:44 PM:
Is there a way in tcl to
Most likely, you are getting text encoded in the CP1252 character set
(aka, WinLatin1). So, it's not just the smart quotes that will be a
problem, but also the Euro symbol (0x80), and several other nice graphic
characters (there's a nice bullet symbol at 0x95, and more).
If you can get your
Could you add this to the bug list at sourceforge? I'll do it for you
if you are unable, but it would be better if the one who found the
problem entered it.
Thanks
brad chick wrote:
Recently, we upgraded to 3.5.6 from 3.3.1. Unfortunately, our file
uploads
broke. Now, aolserver doesn't
The '% ... %' syntax is used from AOLserver in ADP pages. You will find a description of ADP pages athttp://aolserver.sourceforge.net/docs/devel/tcl/adp-overview.htmlNote that if your server has not already been configured to serve adp pages, you may need to request a server config file change
Beta release 8 of AOLserver 4.0 is now available with CVS tag aolserver_v4_r0_beta_8.
It is also available via the Source Forge download page:
https://sourceforge.net/project/showfiles.php?group_id=3152release_id=162367
Please report bugs via SourceForge at:
In a message dated 5/29/2003 8:01:23 PM Eastern Daylight Time, [EMAIL PROTECTED] writes:
The pool name is gleaned from an nsv, though. Which beta first had the nsv
fix?
Beta 6 had the fix for '712241: Creating empty nsv fails in AOLserver 4'.
--
AOLserver - http://www.aolserver.com/
To
The following information item may be helpful to those who are porting an existing AOLserver installation to AOLserver 4.0.
The AOLserver C API functions
Ns_CacheCreate
Ns_CacheCreateSz
in 4.0 now produce a Warning severity log entry if called with an already existing cache name.
The Log
Beta release 4 of AOLserver 4.0 is now available with CVS tag aolserver_v4_r0_beta_4.
It is also available via the Source Forge download page:
https://sourceforge.net/project/showfiles.php?group_id=3152release_id=148480
Please report bugs via SourceForge at:
Beta release 3 of AOLserver 4.0 is now available with CVS tag
aolserver_v4_r0_beta_3. It is also available via the Source Forge download
page: A HREF=""https://sourceforge.net/project/showfiles.php?group_id=3152release_id=145927/A
Please report bugs via SourceForge at:
A
This document provides technical information which may be useful for developers who are porting a AOLserver module from an earlier version of AOLserver to AOLserver 4.0. This document is located under 'C Development' of the Documentation section of this site, or by pointing your browser at
Fix for this is checked in, and will be included in the beta3 release.
In a message dated 3/9/03 2:57:25 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
I set the following code in my private init.tcl file in AOLserver 4.0b2:
proc sleepy { } {
ns_log Notice "Sleeping for 120 seconds."
What, When, Where
-
The AOLserver weekly chat takes place today, Thursday, Feb 6, 2003, at 19:00 UTC, which translates to:
2 PM US/Eastern
1 PM US/Central
12 PM US/Mountain
11 AM US/Pacific + Arizona
AOL/AIM chatroom: AOLserver on
Sorry: Correction on Time -
The AOLserver weekly chat takes place today, Thursday, Feb 6, 2003, at 19:00 UTC, which translates to:
2 PM US/Eastern
1 PM US/Central
12 PM US/Mountain + Arizona
11 AM US/Pacific
27 matches
Mail list logo