World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Graham 10-Jun-2007 [1485] | the application can automate if necessary |
Oldes 10-Jun-2007 [1486] | I have expiration in 30minutes if there is no action |
Maarten 10-Jun-2007 [1487] | On wirting modules, is this how it works: (?) - create a mod-<name>.r - start with install HTTPd-extension - name 'mod-name - order -> this I don't get but it controls the flow through mezzanines the rest is custom code Q: what other data is available in a mod and what is the order thingy? |
Terry 10-Jun-2007 [1488] | I associate the the IP with the user a well.. if the IP is a mismatch, the cookie is void |
Dockimbel 10-Jun-2007 [1489] | Re: php / fastcgi, didn't had time to work on it this week, but it's high priority for my company, we need to put a few php apps onlin with Cheyenne, so I'll work on that in the next days. |
Oldes 10-Jun-2007 [1490] | thanks.. I was just trying to run the php test but it fails.. so I was asking |
Dockimbel 10-Jun-2007 [1491] | php test is working, let me see if there's no regression in last release... |
Oldes 10-Jun-2007 [1492] | If there will be possibility to run php from cheyenne, I could stop using apache at home for testing |
Terry 10-Jun-2007 [1493] | What's the issue with windows cookies? .. if there's a timezone difference, can you not adjust the expiration accordingly? |
Dockimbel 10-Jun-2007 [1494] | Not accurately on Windows platforms due to REBOL inability to handle local summer time (daylight time saving period). |
Terry 10-Jun-2007 [1495x2] | Well, can still set it generally, no? |
20 mins may not work, but 20 hours give or take should | |
Dockimbel 10-Jun-2007 [1497x2] | The workaround is to call directly the win32 API to get the correct timezone offset, so requires /Library component. |
sure, 20 hours would not be an issue ;-) | |
Terry 10-Jun-2007 [1499x2] | Or, you could ask for the TZ? |
Although that's a bit nasty. | |
Dockimbel 10-Jun-2007 [1501] | Oldes: I've stopped using Apache locally to run php apps (like phpMySQL) since 2 weeks ;-). |
Terry 10-Jun-2007 [1502] | I was running PHP fine. |
Dockimbel 10-Jun-2007 [1503] | Terry: I'll provide an option in the next release to add session cookie expiration time, but will be "at your own risks" ;-). |
Terry 10-Jun-2007 [1504] | speaking of PHPMySQL.. that piece of software is begging for an upgrade. |
Dockimbel 10-Jun-2007 [1505] | phpMySQL => phpMyAdmin |
Terry 10-Jun-2007 [1506x3] | how about regular cookie expiry? |
yeah.. that's what I meant too ;) | |
How about the trailing slash issue with embed-mode? | |
Dockimbel 10-Jun-2007 [1509x2] | Regular cookie expiry, it's up to the developer to handle that (the RSP 'set-cookie func is still pending). |
What's the issue ? | |
Terry 10-Jun-2007 [1511] | well, it might just be the demo.. but if you put a url with a slash, you get a different result than without the slash.. sometimes |
Dockimbel 10-Jun-2007 [1512] | Oldes: I've published some info about PHP support here: http://softinnov.org/cheyenne/blog.cgi?view=0005 |
Oldes 10-Jun-2007 [1513] | thanks.. I will take a look |
Terry 10-Jun-2007 [1514] | http://127.0.0.1/testappand http://127.0.0.1/testapp/are two different pages.. |
Graham 10-Jun-2007 [1515x2] | You haven't redefined 'dehex have you? |
I'm getting odd results ... | |
Terry 10-Jun-2007 [1517] | The first page takes you to "Welcome to defautl page" and the second to the testapp login screen |
Dockimbel 10-Jun-2007 [1518] | Terry: that's the intended behaviour, if you request /testapp, it calls the 'testapp function in root object (or 'default func if 'testapp is not defined), it you request /testapp/, it calls the 'default function in the 'testapp object. But that's the demo "site", you can change the behaviour in your own "site" if it doesn't fit your needs. |
Terry 10-Jun-2007 [1519x2] | Yeah.. that's what I thought.. in the real world that could be an issue |
It's one thing when you control the URL via the script, it's another is someone is requesting the page. | |
Graham 10-Jun-2007 [1521] | https://www.compkarori.co.nz/newpatient.rsp if I enter "123 ABC street" on the street1 and submit, the dehex result is "3 ABC Stree" |
Dockimbel 10-Jun-2007 [1522] | Yeah, I know, but I'm not sure that this kind of thing have to be supported at ow level in mod-embed, or left for the developer to handled (and adapt the default behaviour). |
Graham 10-Jun-2007 [1523] | 3 ABC stree |
Dockimbel 10-Jun-2007 [1524] | dehex: no, I'm using the native one. |
Maarten 10-Jun-2007 [1525] | (I hate to be nagging but... any answers to my how-to-write-a-module-question?) |
Graham 10-Jun-2007 [1526x2] | well, I have this: probe request/content street1: url-encode any [ select request/content 'street1 "" ] print <br/> ?? street1 print <br/> probe dehex street1 print <br/> |
and I'm not getting the correct answer back! | |
Terry 10-Jun-2007 [1528] | Maarten, put your order in the httpd.conf file as well. |
Dockimbel 10-Jun-2007 [1529] | Marteen: sorry, I've missed your question. Yes, you got it for the starting part. |
Terry 10-Jun-2007 [1530] | ( or mod rather) |
Maarten 10-Jun-2007 [1531] | OK, now about the ordering... How does that work? |
Dockimbel 10-Jun-2007 [1532] | In the modules body you have to implement callbacks (HTTPd phases) if you want your module to react on requests. The order is just the position of your module's callback for a give phase, among the list of other modules. |
Terry 10-Jun-2007 [1533] | (You should create a macro key for this answer Doc) |
Dockimbel 10-Jun-2007 [1534] | I should finish the docs :-) |
older newer | first last |