World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Will 3-Jun-2007 [1116] | then maybe better I'll look at what that means.. |
Oldes 3-Jun-2007 [1117] | You should probably check this http://www.w3.org/TR/P3P/#compact_policies |
Will 3-Jun-2007 [1118x2] | 2xthanks .-) |
long read btw.. | |
Maarten 3-Jun-2007 [1120x2] | Btw, why would you pass session ID through URLs instead of cookies ? Is it for users that wrongly feel more secure by not accepting any cookie ? - some corporate firewalls emrge cookies, effectively making all session content available to all users. |
And then there are people that cannot accept cookies. | |
Graham 3-Jun-2007 [1122x2] | Back again ...and overnight ( for me ), Cheyenne has crashed. Only one process is running, and there's this error which may or may not be relevant ## Error in [uniserve] : On-received call failed with error: make object! [ code: 311 type: 'script id: 'invalid-path arg1: 'expires arg2: none arg3: none near: [sess/expires < now] where: 'gc ] ! |
Is there a verbose logging feature for cheyenne? | |
Will 3-Jun-2007 [1124] | are you running custom mods? |
Graham 3-Jun-2007 [1125x2] | HTTDd.r has a verbose mode. |
Only mod-qm.r | |
Will 3-Jun-2007 [1127] | link? |
Graham 3-Jun-2007 [1128] | http://www.ross-gill.com/QM |
Will 3-Jun-2007 [1129x5] | for verbose either you start cheyenne with -v -vv -vvv .. or look at the end of cheyenne.r for these two lines: |
uniserve/verbose: any [all [4 < to-integer verbosity 2] 0] uniserve/services/httpd/verbose: any [verbosity 0] | |
uniserve/verbose: any [all [4 < to-integer verbosity 2] 0] | |
uniserve/services/httpd/verbose: any [verbosity 0] | |
sorry altme still has problem with lineendings.. | |
Graham 3-Jun-2007 [1134x3] | changing verbose in httd.r didn't do anything. |
This is Cheyenne/log/default-log ? | |
Must be logging to screen only | |
Terry 3-Jun-2007 [1137x2] | yeah, to console |
are you on windows? | |
Will 3-Jun-2007 [1139x2] | dunno but these two lines will bypass verbose set in HTTPd.r or uniserve.r so becareful |
nope os x | |
Oldes 3-Jun-2007 [1141x2] | I think there is missing default value for cookie expiration |
hmm.. maybe not | |
Graham 3-Jun-2007 [1143] | Yeah .. windows |
Terry 3-Jun-2007 [1144] | Im still not getting any cookies at all xp FF2 ie7 |
Graham 3-Jun-2007 [1145] | Can you login to my server? |
Terry 3-Jun-2007 [1146] | url? |
Graham 3-Jun-2007 [1147x2] | http://www.compkarori.co.nz |
user: dockimbel pass: 1234 | |
Will 3-Jun-2007 [1149] | Graham: no problem here |
Graham 3-Jun-2007 [1150x3] | well, I guess you logged in okay |
or someone did :) | |
So, cookies must be working | |
Terry 3-Jun-2007 [1153x2] | yeah |
what I meant is cheyenne running on localhost (winxp) is not setting any cookies | |
Graham 3-Jun-2007 [1155] | tis for me |
Will 3-Jun-2007 [1156] | may be a browser limitation, experienced same issue here depending on browsers, also some do not eat cookies when using ip instead of hostname in urls |
Graham 3-Jun-2007 [1157x2] | Aren't servers supposed to send cookies with domains ? |
Hmm. | |
Terry 3-Jun-2007 [1159] | Im guessing that using the ip would work.. haven't tried it yet. |
Graham 3-Jun-2007 [1160] | Is there a possibility of using the standard sql dialect for 'do-sql ? eg [ {insert into table (one, two, three ) values (?,?,?)} a b c ] |
Dockimbel 3-Jun-2007 [1161x3] | it should work if your DB driver supports it, DO-SQL is just a higher level wrapper. |
Graham: cookies specification says that if domain attribut in cookie, is not provided, "The default value of domain is the host name of the server which generated the cookie response." | |
Graham: it seems that I've found a bug the session expiration in Cheyenne, that might be the cause of your error. It's now fixed. I'm testing it a little more before releasing it, I'd like to fix the cookies issues of Brian and Terry too (one way or another, these issues must be related to the info Cheyenne is sending back in the response). | |
Graham 3-Jun-2007 [1164x2] | Thanks. |
qry: [ {select fnames, surname, uid from users where userid = "?" and pass = "?" and activ = 'T'} in-user in-pass ] sql: do-sql 'remr qry gives me this Error Code : 329 Description : script error ! ODBC error: Dynamic SQL Error SQL error code = -206 Column unknown ? At line 1, column 59. Near : [insert port data copy port ] Where : do-sql but this works; qry: rejoin [ "select fnames, surname, uid from users where userid = '" in-user "' and pass = '" in-pass "' and activ = 'T'" ] sql: do-sql 'remr qry | |
older newer | first last |