World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Janko 24-Nov-2009 [6457x2] | doing = work |
aha I remember :) | |
Dockimbel 24-Nov-2009 [6459] | request/headers/cookie |
Janko 24-Nov-2009 [6460x3] | aha, you already parse it .. cool |
I am creating an simple affiliate system for cebelca.biz , but it will be made so you can reuse it on any page without installing aff system on server | |
so if anyone needs it, tell me | |
Terry 26-Nov-2009 [6463x2] | I'm coming to the conclusion that any communication other than via HTTP is a waste of time. Sockets suck. |
I mean, this low level coding is a pain. | |
Robert 26-Nov-2009 [6465x2] | IMO HTTP sucks. Since years people try to make stateless HTPP stateful. One just needs a simple socket and than handle everything via a multiplexed channel system through this. |
And, with some tricks everything can be tunneled through port 80 ;-) See Skype. | |
Henrik 26-Nov-2009 [6467] | Well, HTTP works ok as long as you treat it like what it is: Stateless. |
Janko 1-Dec-2009 [6468] | I am trying to use the set-locale locales-dir .. but I wasn't able to get it work |
Dockimbel 1-Dec-2009 [6469] | Here's the configuration I'm using for CureCode.org : webapp [ virtual-root "/rebol3/" root-dir %/home/curecode.org/rebol3/ locales-dir %private/locales/ ] %private is located under %rebol3/ |
Janko 1-Dec-2009 [6470] | aha, thanks :) I will try that way |
Dockimbel 2-Dec-2009 [6471] | Btw, %private/ folder under a webapp folder is a *special* folder that's protected from direct access (you'll get 404 if you try), so you can safely store there your libs and support code. |
Janko 2-Dec-2009 [6472] | aha, good to know |
Endo 15-Dec-2009 [6473] | hi, I have a problem about sessions, when I start a session, then end it, then restart it, session/active? return false if the file is not in same location with the file which is started the session. |
Dockimbel 15-Dec-2009 [6474] | Which Cheyenne version are you using? Have you tried with the development version from SVN repository? |
Endo 15-Dec-2009 [6475x3] | 2.7.6.3 |
on windows/xp home & pro | |
I did not try the SVN version. | |
Dockimbel 15-Dec-2009 [6478] | 2.7.6.3 is the REBOL version. Cheyenne versions are the ones listed here : http://cheyenne-server.org/download.shtml So, I guess you're probably using v0.9.19. Could you make small RSP scripts that exhibit this issue and send them to me by email? |
Endo 15-Dec-2009 [6479x2] | oh sorry, yes I'm using the 0.9.19, I guess the problem is about subfolders |
I'm preparing the scripts now.. | |
Dockimbel 15-Dec-2009 [6481x2] | Thanks. |
I remember a similar issue reported once by a user a few months ago. I'm not sure this has been fixed properly or if your issue is exactly the same. Anyway with the help of your test scripts, I should be able to figure it out. | |
Endo 15-Dec-2009 [6483x2] | I just send the test files by email |
Please try the test cases I wrote in the email, session/active? gives 2 different result after restarted a session, if the files are different folders | |
Dockimbel 15-Dec-2009 [6485] | Got it, will give it a quick look now. |
Endo 15-Dec-2009 [6486] | thanks a lot |
Terry 15-Dec-2009 [6487] | Websockets... now we're cookin' http://mylittlehacks.appspot.com/phpwebsocket |
Dockimbel 15-Dec-2009 [6488] | The test cases run OK here with the development version (on SVN), which means that the issue has been already fixed. Now trying with 0.9.19 to be sure. |
Endo 15-Dec-2009 [6489] | can I download the SVN version (where?) so I can test it here too |
Terry 15-Dec-2009 [6490] | Google Chrome announced support for Websockets recenty. Works well. |
Dockimbel 15-Dec-2009 [6491] | SVN version is hosted on google code : http://code.google.com/p/cheyenne-server/ |
Terry 15-Dec-2009 [6492] | Cheyenne could get some good press by creating a protocol to handles ws:// |
Dockimbel 15-Dec-2009 [6493] | Endo, if you don't have SVN installed, I'll send you a zip archive by email? |
Terry 15-Dec-2009 [6494] | http://code.google.com/p/phpwebsocket/ |
Endo 15-Dec-2009 [6495x4] | I can download it from the web |
but there is no binaries I guess, can I run it from the console? | |
I don't have /Pro versions. | |
or if you have binaries please send me by email | |
Dockimbel 15-Dec-2009 [6499] | I'll upload a binary version online, just wait a minute... |
Terry 15-Dec-2009 [6500x2] | Forget that.. download the latest Google Chrome beta and start playing with websockets :) |
http://www.kaazing.org/confluence/display/KAAZING/What+is+an+HTML+5+WebSocket | |
Dockimbel 15-Dec-2009 [6502x2] | Terry: yes, interesting stuff. |
Endo: it's confirmed, version 0.9.19 fails on your test case while the development version seems to run it fine. | |
Endo 15-Dec-2009 [6504] | I downloded 0.9.20, testing in a minute |
Dockimbel 15-Dec-2009 [6505] | Let me know if you need other binaries (the one I've sent you is made with enface). |
Endo 15-Dec-2009 [6506] | Ok, I've tested it, works fine now. |
older newer | first last |