You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(32) |
Feb
(23) |
Mar
(23) |
Apr
(11) |
May
(19) |
Jun
(8) |
Jul
(28) |
Aug
(19) |
Sep
(11) |
Oct
(8) |
Nov
(39) |
Dec
(22) |
2002 |
Jan
(14) |
Feb
(64) |
Mar
(14) |
Apr
(28) |
May
(25) |
Jun
(34) |
Jul
(26) |
Aug
(88) |
Sep
(66) |
Oct
(26) |
Nov
(16) |
Dec
(22) |
2003 |
Jan
(18) |
Feb
(16) |
Mar
(20) |
Apr
(20) |
May
(26) |
Jun
(43) |
Jul
(42) |
Aug
(22) |
Sep
(41) |
Oct
(37) |
Nov
(27) |
Dec
(23) |
2004 |
Jan
(26) |
Feb
(9) |
Mar
(40) |
Apr
(24) |
May
(26) |
Jun
(56) |
Jul
(15) |
Aug
(19) |
Sep
(20) |
Oct
(30) |
Nov
(29) |
Dec
(10) |
2005 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2006 |
Jan
(10) |
Feb
(6) |
Mar
(10) |
Apr
(9) |
May
(4) |
Jun
(1) |
Jul
(2) |
Aug
(6) |
Sep
(1) |
Oct
(1) |
Nov
(11) |
Dec
|
2007 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(5) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(19) |
Dec
(3) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Paul N. <web...@ih...> - 2006-08-07 09:14:17
|
What is the best way to have tclhttpd automatically startup under Linux = (Suse 9.3). The server is currently in a user home directory -uid 1000 = -gid 100. Regards, Paul Nash |
From: yahalome <yah...@xo...> - 2006-07-30 05:57:14
|
We are running tclhttpd with theads with no problem. Maybe TclX is causing the problem. Check if the "package require Tclx" is enabled. We removed it on unix systems. Yahalom Emet XPO Team Leader Xor Financial Solutions Tel: + 972- 4-6619166 Email: yah...@xo... www.XorTechnologies.com -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of tcl...@li... Sent: Friday, July 28, 2006 9:01 PM To: tcl...@li... Subject: TclHttpd-users Digest, Vol 2, Issue 1 Send TclHttpd-users mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tclhttpd-users or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of TclHttpd-users digest..." Today's Topics: 1. Problem running TclHttpd 3.5.1 in threaded mode (Gerald W. Lester) ---------------------------------------------------------------------- Message: 1 Date: Fri, 28 Jul 2006 07:25:51 -0500 From: "Gerald W. Lester" <Ger...@co...> Subject: [Tclhttpd-users] Problem running TclHttpd 3.5.1 in threaded mode To: tcl...@li... Message-ID: <44C...@co...> Content-Type: text/plain; charset="iso-8859-1" I'm running TclHttpd (version 3.5.1) in multi-threaded mode on Windows and have observed several things that I don't *think* are Windows specific -- but I'd like verification. 1. Each thread generates its own unique /debug password 2. Thread initiation fails due to the following near the top of the Thread_Start procedure in thread.tcl 1. Thread_Send $id \ {Stderr "Thread starting."} 3. Thread initiation fails due to the following near the bottom of the utils.tcl 1. package present md5 -- +--------------------------------+---------------------------------------+ | Gerald W. Lester | |"The man who fights for his ideals is the man who is alive." - Cervantes| +------------------------------------------------------------------------+ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=tclhttpd-users/attachment s/20060728/891cd8e3/attachment.html ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users End of TclHttpd-users Digest, Vol 2, Issue 1 ******************************************** -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From: Gerald W. L. <Ger...@co...> - 2006-07-28 12:26:03
|
I'm running TclHttpd (version 3.5.1) in multi-threaded mode on Windows and have observed several things that I don't *think* are Windows specific -- but I'd like verification. 1. Each thread generates its own unique /debug password 2. Thread initiation fails due to the following near the top of the Thread_Start procedure in thread.tcl 1. Thread_Send $id \ {Stderr "Thread starting."} 3. Thread initiation fails due to the following near the bottom of the utils.tcl 1. package present md5 -- +--------------------------------+---------------------------------------+ | Gerald W. Lester | |"The man who fights for his ideals is the man who is alive." - Cervantes| +------------------------------------------------------------------------+ |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-06-02 13:24:21
|
Hi, What are the causes of this errors? It come when an IFRAME reloads via refresh meta tag. Also, the page called via the IFRAME its a Direct_URL, not a common html/tml file. How could i trace every time tclhttpd opens a socket? (without modifing the source) [02/Jun/2006:07:19:11] sock37 timeout [02/Jun/2006:07:19:34] sock24 timeout Regards, -=Raul=- -- Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/354 - Release Date: 6/1/2006 |
From: Wojciech K. <woj...@ko...> - 2006-05-09 01:26:24
|
Hello, I've just submitted a feature request for returning data by [fcopy]ing a provided channel. I wonder if anyone besides me finds this useful? If so, is this implementation (attached in tracker item 1483257) flexible enough? I supplied an option to send only X characters, in which case the header Content-Length is sent out. Otherwise the length isn't sent. -- Wojciech Kocjan woj...@ko... |
From: Wojciech K. <woj...@ko...> - 2006-05-09 01:25:44
|
Hello, I've just submitted a feature request for returning data by [fcopy]ing a provided channel. I wonder if anyone besides me finds this useful? If so, is this implementation (attached in tracker item 1483257) flexible enough? I supplied an option to send only X characters, in which case the header Content-Length is sent out. Otherwise the length isn't sent. -- Wojciech Kocjan woj...@ko... |
From: Colin M. <co...@ch...> - 2006-05-08 23:44:48
|
On Thu, 2006-05-04 at 09:55 +0200, Matthias Hoffmann wrote: > I posted this here and there before and I don't want to get on your nervs, > but I can't solve this on my own: I thought it'd been answered. > But with 3.5.x, if I ask for test/index, and there is an index.tml, > the html-source-code is returned. Hm. If i > explicitely ask for index.tml then everything looks ok. > > The consequence is: I have to change hundrets of webpages which reference */index to */index.tml, or users the users > will get back raw html..... > > Is it really true? If the behaviour changes somewhere between 3.4.x and 3.5.x, > why isn't this configurable (compatibility mode etc.)? > > Is there any workaround? There is a fix. The page is being returned, but it's being returned with a mime type of text/plain, because no suffix is provided on the URL to allow tclhttpd to guess the desired mime type. The fix is to [set ::MimeType() text/html] which will make the default mime type that, instead of text/plain, which is its current (and, IMHO, not unreasonable default.) If this doesn't fix the problem for you, let me know. Colin. |
From: Matthias H. <M.H...@hm...> - 2006-05-04 07:56:34
|
Hello, I posted this here and there before and I don't want to get on your nervs, but I can't solve this on my own: Our internal developer website is hosted by tclhttpd 3.4.2. No problems. If I navigate with my browser to a page, e.g., test/index, and an index.tml exists, it's processed (and probably cached) and the result is delivered back as expected. If there is an index.html, this is given back. Ok. But with 3.5.x, if I ask for test/index, and there is an index.tml, the html-source-code is returned. Hm. If i explicitely ask for index.tml then everything looks ok. The consequence is: I have to change hundrets of webpages which reference */index to */index.tml, or users the users will get back raw html..... Is it really true? If the behaviour changes somewhere between 3.4.x and 3.5.x, why isn't this configurable (compatibility mode etc.)? Is there any workaround? -- Mit freundlichem Gruß, M.Hoffmann _________________ DAK-Rechenzentrum 0074 60 - Client-Server-Systemtechnik Nagelsweg 27-31 20097 Hamburg Tel.: 040 / 2396 1784 EMail: (DAK-Netz) Mat...@da... EMail: (HMK-Netz) M.H...@hm... |
From: Scott G. <sg...@ya...> - 2006-04-16 18:41:15
|
I think it looks great Robert. And thanks for pointing out oswd.org, I didn't know about that site. --__--__-- Message: 1 To: tcl...@li... From: Robert Hicks Date: Sat, 15 Apr 2006 11:38:40 -0400 Subject: [Tclhttpd-users] New look While I am just learning Tcl, I think tclhttpd is a very cool technology in and of itself. When there was discussion in c.l.tcl about updating the wiki look and feel, it got me thinking about the "out of the box" look of tclhttpd. I decided to create a mockup of a new "out of the box" look. The template is actually an open source one that I found on www.oswd.org and modified. It is HTML 4.01 compliant and validates as such. I have personally tested it in Safari, Firefox and IE and it all looks fine. I have only done the initial start page of the server but I could do all the supporting pages as well. Anyway the mockup is here: http://www.frbc-va.org/mockup/ Robert --------------------------------- Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice. |
From: Robert H. <rob...@ea...> - 2006-04-15 15:38:48
|
While I am just learning Tcl, I think tclhttpd is a very cool technology in and of itself. When there was discussion in c.l.tcl about updating the wiki look and feel, it got me thinking about the "out of the box" look of tclhttpd. I decided to create a mockup of a new "out of the box" look. The template is actually an open source one that I found on www.oswd.org and modified. It is HTML 4.01 compliant and validates as such. I have personally tested it in Safari, Firefox and IE and it all looks fine. I have only done the initial start page of the server but I could do all the supporting pages as well. Anyway the mockup is here: http://www.frbc-va.org/mockup/ Robert |
From: Gerald W. L. <Ger...@co...> - 2006-04-02 21:43:18
|
Raul Elizondo (wizardteam) wrote: > There are 2 ways to store sessions, one is using arrays (wich will eat > some memory if you dont clean those variables periodically, ie > var1(session), var2(session), var3(session)), or the common way which > uses temprally files in /tmp. However, keeping global variables cant > be mixed as tclhttpd does one at the time request (with no threads > enabled), unless you dont reset your variables. For that case, ncgi > package is very handy instead of using global variables. > > The best and clean way to do session its as explained by Sean Woods in > the last message. Using one cookie generated with a random string (as > the ticket number or traking string) that matches against a sql record > in which you can store must of the private environment for the session > (usually the username). Another way to store per session information is to cut a safe interpreter per session. In any case, including using files or SQL records you need to delete old session information. Use the Session_Reap command to assist in this -- in fact you the session commands in general. > > Regards, > > -=Raul=- > > -----Original Message----- > *From:* tcl...@li... > [mailto:tcl...@li...]*On Behalf Of > *salah jubeh > *Sent:* Friday, March 31, 2006 11:56 PM > *To:* Jeff Smith; tcl...@li... > *Subject:* Re: [Tclhttpd-users] sessions > > Hi Jeff, > > The problem with session package, i think it is not complete, > after creating a session, the user suppose to have his own > state i.e variables, it is not just only tracking the user "how > is the user" because this can be done by hidden fields, after > creating session still all the forms variable are in the global > scope that's mean that if two users are inserting records at the > same time, the records will mix up > > */Jeff Smith <hea...@ya...>/* wrote: > > Hi Salah, > > > second in the session library how it is work to > > maintain variable states and can you give me > > example. > > > > There are a few examples of using TclHttpd's session > module on the wiki > > http://wiki.tcl.tk/2927 > > Kind Regards > > Jeff Smith > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------------------------ > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. > Great rates starting at 1¢/min. > <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com> > -- +--------------------------------+---------------------------------------+ | Gerald W. Lester | |"The man who fights for his ideals is the man who is alive." - Cervantes| +------------------------------------------------------------------------+ |
From: Wart <wa...@ko...> - 2006-04-02 20:43:47
|
A new build should hit the Fedora mirrors shortly. I'll commit the fix to the sourceforge CVS as soon as cvs is working again. :( --Mike Wart wrote: > Hi Raul, > > I finally found the culprit. The '-daemon 1' flag causes tclhttpd to > [fork] into the background, detaching from the controlling terminal. > Tcl in FC-4 was built with threading disabled. Tcl in FC-5 has > threading enabled. Unfortunately, [fork] does not play nicely with a > threaded Tcl. > > I'll add appropriate warnings in httpd.tcl to guard against this and > come up with a modified init.d startup script that doesn't require -daemon. > > --Mike > > Raul Elizondo (wizardteam) wrote: > >>ok, something new, if i start it by hand without using the "-daemon 1" >>argument, it works. It has something to do with that argument. >> >>Regards, >> >>-=Raul=- >> >>-----Original Message----- >>Sent: Friday, March 24, 2006 5:47 PM >>Subject: RE: [Tclhttpd-users] tclhttpd on FC5 >> >> >>On a fresh installation, i get the same problem. The service seems to start >>without problems, but it does not answer any request. SElinux is on >>permissible. >> >>Now, if i enable X and i start it by hand using "wish" instad of tclsh, it >>works fine and i get the Tk status. Any guess? >> >> >>Regards, >> >>-=Raul=- >> >>-----Original Message----- >>Sent: Thursday, March 23, 2006 11:50 PM >>Subject: [Tclhttpd-users] tclhttpd on FC5 >> >> >>Hi, >> >>I just updated today to FC5, and tclhttpd does not display any webpage, cant >>see anything in the logs anyway, it just hangs while requesting a page. >> >>Any hint on where to beging digging? >> >>Regards, >> >>-=Raul=- > > > |
From: Wart <wa...@ko...> - 2006-04-02 18:40:47
|
Hi Raul, I finally found the culprit. The '-daemon 1' flag causes tclhttpd to [fork] into the background, detaching from the controlling terminal. Tcl in FC-4 was built with threading disabled. Tcl in FC-5 has threading enabled. Unfortunately, [fork] does not play nicely with a threaded Tcl. I'll add appropriate warnings in httpd.tcl to guard against this and come up with a modified init.d startup script that doesn't require -daemon. --Mike Raul Elizondo (wizardteam) wrote: > ok, something new, if i start it by hand without using the "-daemon 1" > argument, it works. It has something to do with that argument. > > Regards, > > -=Raul=- > > -----Original Message----- > Sent: Friday, March 24, 2006 5:47 PM > Subject: RE: [Tclhttpd-users] tclhttpd on FC5 > > > On a fresh installation, i get the same problem. The service seems to start > without problems, but it does not answer any request. SElinux is on > permissible. > > Now, if i enable X and i start it by hand using "wish" instad of tclsh, it > works fine and i get the Tk status. Any guess? > > > Regards, > > -=Raul=- > > -----Original Message----- > Sent: Thursday, March 23, 2006 11:50 PM > Subject: [Tclhttpd-users] tclhttpd on FC5 > > > Hi, > > I just updated today to FC5, and tclhttpd does not display any webpage, cant > see anything in the logs anyway, it just hangs while requesting a page. > > Any hint on where to beging digging? > > Regards, > > -=Raul=- |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-04-02 09:55:54
|
There are 2 ways to store sessions, one is using arrays (wich will eat so= me memory if you dont clean those variables periodically, ie var1(session), var2(session), var3(session)), or the common way which uses temprally fil= es in /tmp. However, keeping global variables cant be mixed as tclhttpd doe= s one at the time request (with no threads enabled), unless you dont reset your variables. For that case, ncgi package is very handy instead of usi= ng global variables. The best and clean way to do session its as explained by Sean Woods in th= e last message. Using one cookie generated with a random string (as the ticket number or traking string) that matches against a sql record in whi= ch you can store must of the private environment for the session (usually th= e username). Regards, -=3DRaul=3D- -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of salah jub= eh Sent: Friday, March 31, 2006 11:56 PM To: Jeff Smith; tcl...@li... Subject: Re: [Tclhttpd-users] sessions Hi Jeff, The problem with session package, i think it is not complete, after creating a session, the user suppose to have his own state i.e variables,= it is not just only tracking the user "how is the user" because this can be done by hidden fields, after creating session still all the forms variab= le are in the global scope that's mean that if two users are inserting recor= ds at the same time, the records will mix up Jeff Smith <hea...@ya...> wrote: Hi Salah, > second in the session library how it is work to > maintain variable states and can you give me > example. > There are a few examples of using TclHttpd's session module on the wiki http://wiki.tcl.tk/2927 Kind Regards Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------------------------------------------------------------------= --- -- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great ra= tes starting at 1=A2/min. -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006 |
From: Wart <wa...@ko...> - 2006-04-02 07:36:50
|
Hi Raul, Just wanted to let you know that I've reproduced the problem on my FC-5 box, and as you said, removing '-daemon 1' from the command line works around the problem. I'm poking around the code now... --Mike Raul Elizondo (wizardteam) wrote: > ok, something new, if i start it by hand without using the "-daemon 1" > argument, it works. It has something to do with that argument. > > Regards, > > -=Raul=- > > -----Original Message----- > Sent: Friday, March 24, 2006 5:47 PM > Subject: RE: [Tclhttpd-users] tclhttpd on FC5 > > > On a fresh installation, i get the same problem. The service seems to start > without problems, but it does not answer any request. SElinux is on > permissible. > > Now, if i enable X and i start it by hand using "wish" instad of tclsh, it > works fine and i get the Tk status. Any guess? > > > Regards, > > -=Raul=- > > -----Original Message----- > Sent: Thursday, March 23, 2006 11:50 PM > Subject: [Tclhttpd-users] tclhttpd on FC5 > > > Hi, > > I just updated today to FC5, and tclhttpd does not display any webpage, cant > see anything in the logs anyway, it just hangs while requesting a page. > > Any hint on where to beging digging? > > Regards, > > -=Raul=- > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 > > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 > > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 > > -- > > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users |
From: Sean W. <yo...@et...> - 2006-04-02 06:40:37
|
I've written many websites that use sessions. The best arrangements only store a session ID in a cookie. The rest of the user's state should be pulled from a database in the server. There are several reasons. The first is: having one cookie is being a good citizen to the net. Filling a browser with cookies is bad form Second: There are some limitations to the size of cookies, and how long browsers will hold onto them, etc. If you trust browsers to keep track of that for you, you are on a short road to insanity Third is extra traffic and extra logging. All of the cookies you send have to be re-sent with every page view. They are also dutifully recorded in the webserver logs. Finally: security. About the only thing I trust a browser with is essentially a "ticket number" that I can verify to be legit. If you trust a browser with logon names or other access credentials, there are many many many ways to exploit such a system. In short: issue a "ticket number". Use that ticket number that is passed in with every page view to load data from a table. (On my systems I populate an array called ::session) cookie -> verify cookie good -> load "session" for said cookie into ::session -> (Yadda Yadda) -> save changes to ::session -> return/destroy ticket cookie On Apr 1, 2006, at 11:28 PM, tclhttpd-users- re...@li... wrote: > Send TclHttpd-users mailing list submissions to > tcl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > or, via email, send a message with subject or body 'help' to > tcl...@li... > > You can reach the person managing the list at > tcl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of TclHttpd-users digest..." > > > Today's Topics: > > 1. Re: sessions (salah jubeh) > > --__--__-- > > Message: 1 > Date: Fri, 31 Mar 2006 22:55:56 -0800 (PST) > From: salah jubeh <s_...@ya...> > Subject: Re: [Tclhttpd-users] sessions > To: Jeff Smith <hea...@ya...>, tclhttpd- > us...@li... > > --0-1619083573-1143874556=:57684 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > Hi Jeff, > > The problem with session package, i think it is not complete, > after creating a session, the user suppose to have his own state > i.e variables, it is not just only tracking the user "how is the > user" because this can be done by hidden fields, after creating > session still all the forms variable are in the global scope > that's mean that if two users are inserting records at the same > time, the records will mix up > > Jeff Smith <hea...@ya...> wrote: > Hi Salah, > >> second in the session library how it is work to >> maintain variable states and can you give me >> example. >> > > There are a few examples of using TclHttpd's session > module on the wiki > > http://wiki.tcl.tk/2927 > > Kind Regards > > Jeff Smith > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > --------------------------------- > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. > Great rates starting at 1¢/min. > --0-1619083573-1143874556=:57684 > Content-Type: text/html; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > <DIV>Hi Jeff,</DIV> <DIV> </DIV> <DIV>The problem with > session package, i think it is not complete, after creating a > session, the user suppose to have his own > state i.e variables, it is not just only tracking the > user "how is the user" because this can be done by hidden > fields, after creating session still all the forms > variable are in the global scope that's mean that if two users are > inserting records at the same time, the records will mix > up<BR><BR><B><I>Jeff Smith <hea...@ya...></I></B> > wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; > MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi > Salah,<BR><BR>> second in the session library how it is work > to<BR>> maintain variable states and can you give me<BR>> > example.<BR>> <BR><BR>There are a few examples of using > TclHttpd's session<BR>module on the wiki<BR><BR>http://wiki.tcl.tk/ > 2927<BR><BR>Kind Regards<BR><BR>Jeff > > Smith<BR><BR>__________________________________________________<BR>Do > You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam > protection around <BR>http://mail.yahoo.com <BR></BLOCKQUOTE><BR><p> > <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to- > Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/ > postman7/*http://us.rd.yahoo.com/evt=39666/*http:// > beta.messenger.yahoo.com"> Great rates starting at 1¢/min. > --0-1619083573-1143874556=:57684-- > > > > --__--__-- > > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > > End of TclHttpd-users Digest |
From: salah j. <s_...@ya...> - 2006-04-01 06:56:11
|
Hi Jeff, The problem with session package, i think it is not complete, after creating a session, the user suppose to have his own state i.e variables, it is not just only tracking the user "how is the user" because this can be done by hidden fields, after creating session still all the forms variable are in the global scope that's mean that if two users are inserting records at the same time, the records will mix up Jeff Smith <hea...@ya...> wrote: Hi Salah, > second in the session library how it is work to > maintain variable states and can you give me > example. > There are a few examples of using TclHttpd's session module on the wiki http://wiki.tcl.tk/2927 Kind Regards Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
From: Jeff S. <hea...@ya...> - 2006-03-31 09:35:10
|
Hi Salah, > second in the session library how it is work to > maintain variable states and can you give me > example. > There are a few examples of using TclHttpd's session module on the wiki http://wiki.tcl.tk/2927 Kind Regards Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: salah j. <s_...@ya...> - 2006-03-31 07:04:52
|
Hi guys I faced a problem with sessions, so I invent a way to give the variables a unique name the global scope by using namespaces, inorder to maintain variable state , i do not know how much this way is good i am a fraid of it a little bit. did any body can explain me what are the draw back of this method. second in the session library how it is work to maintain variable states and can you give me example. set sess 12345 namespace eval [set sess] { } set [set sess]::x 5 put $x put [expr $[set sess]::x] puts [set ${sess}::x] proc delete_var { sess } { foreach var [info vars [set sess]::*] { unset $var } } if {[namespace exists $sess]} { error "duplicate sessionID: $sess" } Thanks in advance --------------------------------- Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice. |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-03-26 20:28:53
|
The error you are getting in "proc FileUpload" comes by a missing "global page" or "variable page" line in it, or at least try setting it as $::page(query). Also, you dont have to do '[return $username]', you can just type '$username', but in your form, you are requesting an uri named '$username', instead a template or cgi, which will produce a "file not found" error unless you have a templeate for each user named as each username in your system. You may have to do a template which will process the upload. See the /forms/file.html and forms/testupload.tml templates in your htdocs files that comes with tclhttpd instalation so you can have an idea. Regards... -=Raul=- -----Original Message----- Sent: Sunday, March 26, 2006 7:29 AM Subject: [Tclhttpd-users] Upload please help Hi all I used upload utilility , i have a problem such that when i submit the upload form i want to return to the same page with the same address "parameter" This is happen because i have many users and each user has his own folder i tried to keep track t the user by posting also the username in a hidden field but it didn ot work let us say that http://localhost:8015/upload.tml?username=abc <form ENCtype=multipart/form-data action=/[return $username] method='post'> File <input type=file> <p> <input type='hidden' name='username' value='[return $username]'> <input type=submit> </form> so it excutes Upload_Url /abc [file join [Doc_Root] /abc] FileUpload FileUpload is defined by proc FileUpload {args} { foreach {name value} $page(query) { set $name $value } Redirect_Self /upload.html?username=$username } it gives me this message can't read "page(query)": no such variable how can i solve this issue ---------------------------------------------------------------------------- -- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006 |
From: salah j. <s_...@ya...> - 2006-03-26 14:29:00
|
Hi all I used upload utilility , i have a problem such that when i submit the upload form i want to return to the same page with the same address "parameter" This is happen because i have many users and each user has his own folder i tried to keep track t the user by posting also the username in a hidden field but it didn ot work let us say that http://localhost:8015/upload.tml?username=abc <form ENCtype=multipart/form-data action=/[return $username] method='post'> File <input type=file> <p> <input type='hidden' name='username' value='[return $username]'> <input type=submit> </form> so it excutes Upload_Url /abc [file join [Doc_Root] /abc] FileUpload FileUpload is defined by proc FileUpload {args} { foreach {name value} $page(query) { set $name $value } Redirect_Self /upload.html?username=$username } it gives me this message can't read "page(query)": no such variable how can i solve this issue --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. |
From: Paul N. <web...@ih...> - 2006-03-26 12:05:10
|
I find env(HOME) gets set to $env(DOCUMENT_ROOT) once transactions = start. What is the intention? It confuses my scripts. Paul Nash webscool.org |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-03-26 11:28:31
|
Hi again... After a couple hours trying to figure out why i couldnt use sessions (my first time with sessions in tclhttpd), i discovered that an error i got before was "fixed" by just erasing the last lines of utils.tcl, those which requiers md5 package, and creating new different problem. I had to add them again from another instalation i got in other box, and also replace "--hex" by "-hex", and again, add the "package require md5" in utils.tcl in order to avoid a `missing md5hex` problem while calling Session_Create from sessions.tcl (httpd::sessions). Am i the only one using virtuals? hehehe Regards... -=Raul=- -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006 |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-03-25 00:57:50
|
ok, something new, if i start it by hand without using the "-daemon 1" argument, it works. It has something to do with that argument. Regards, -=Raul=- -----Original Message----- Sent: Friday, March 24, 2006 5:47 PM Subject: RE: [Tclhttpd-users] tclhttpd on FC5 On a fresh installation, i get the same problem. The service seems to start without problems, but it does not answer any request. SElinux is on permissible. Now, if i enable X and i start it by hand using "wish" instad of tclsh, it works fine and i get the Tk status. Any guess? Regards, -=Raul=- -----Original Message----- Sent: Thursday, March 23, 2006 11:50 PM Subject: [Tclhttpd-users] tclhttpd on FC5 Hi, I just updated today to FC5, and tclhttpd does not display any webpage, cant see anything in the logs anyway, it just hangs while requesting a page. Any hint on where to beging digging? Regards, -=Raul=- -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 |
From: Raul E. (wizardteam) <ra...@wi...> - 2006-03-25 00:47:47
|
On a fresh installation, i get the same problem. The service seems to start without problems, but it does not answer any request. SElinux is on permissible. Now, if i enable X and i start it by hand using "wish" instad of tclsh, it works fine and i get the Tk status. Any guess? Regards, -=Raul=- -----Original Message----- Sent: Thursday, March 23, 2006 11:50 PM Subject: [Tclhttpd-users] tclhttpd on FC5 Hi, I just updated today to FC5, and tclhttpd does not display any webpage, cant see anything in the logs anyway, it just hangs while requesting a page. Any hint on where to beging digging? Regards, -=Raul=- -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 |