r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Dockimbel
3-Jun-2007
[1080]
Tested here, seems ok, I got an RSP catched error telling me that 
the file is not found.
Graham
3-Jun-2007
[1081]
I'll play some more and see if I can reproduce .. though I would 
prefer not to see more errors :)
Terry
3-Jun-2007
[1082x2]
Ran 3 scripts concurrently doing 5000 page reads each  .. all 3 finished 
around 33 secs.
Any idea on concurrent user limits?
Dockimbel
3-Jun-2007
[1084x3]
I've done some stress test on a previous version of Cheyenne, it 
was sustaining around 500 concurrent connections on static pages 
requests. (RSP have a limitation of  <500 due to a design bug in 
task-master. This bug will be fixed in a few days).
I need to do more stress tests on that to publish officialy Cheyenne's 
performances.
Btw, the testing tool was written in REBOL, it may have some bugs. 
I'll do more serious testing using third-party stress test tools.
Robert
3-Jun-2007
[1087]
sessions: Is it possible to add a cookie-free session handling by 
adding a session ID to the URLs?
Graham
3-Jun-2007
[1088x3]
I like the way I can omit many print statements by escaping out of 
the rsp as follows

<%

 qry: rejoin ["select age, diagnosis from diagnoses where patient 
 = " session/content/uid ]
	sql: do-sql 'remr qry
	if not empty? sql [
		%> <table border=1><tr><th>Age</th><th>Diagnosis</th></tr> <%
		foreach record sql [

   %> <tr><td> <% prin record/1 %> </td><td> <% prin record/2 %> </td> 
   </tr> <%
			response/flush
		] 
		%>
		</table> <%
	]
%>
Robert, you can still track the sessionid
or, does that need cookies???
Robert
3-Jun-2007
[1091x2]
Not that I know about. But I have to do it myself, right?
Or is there an option for RSP to use cookie or session-id?
Graham
3-Jun-2007
[1093x2]
try turning off cookies and see if the session id is preserved
I would guess not
Dockimbel
3-Jun-2007
[1095x3]
Graham: instead of writing <% prin record/1 %>, you can use the following 
syntax : <%= record/1 %>
Session currently only use cookies. The session ID is available (session/id) 
so you could embed it in urls, but session cookies support is hardwired 
in the RSP engine, so it would require a lot of internal changes 
to not rely on cookies.
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 ?
Graham
3-Jun-2007
[1098]
<%= - nice ... that'll save a bit of typing :)
Chris
3-Jun-2007
[1099]
Note: so long as QM is server neutral (i.e. it's Apache friendly), 
it will not be as efficient as it could be under Cheyenne.  I really 
would like to do a Cheyenne-only version, but not until QM is feature 
complete (and I will say 'stop' as some point :)
Will
3-Jun-2007
[1100]
don't loose your time with apache.. 8-)
Chris
3-Jun-2007
[1101]
Unfortunately it's a requirement :(
BrianH
3-Jun-2007
[1102]
How does Cheyenne's performance and security stack up against the 
other indians (Apache, Cherrokee, Hiawatha, ...)?
Chris
3-Jun-2007
[1103]
Most of QM is just establishing the core functions and protocols. 
 I could just sweep them away if they were preloaded.
Robert
3-Jun-2007
[1104]
Doc, exactly. A lot of companies don't allow cookies for their employees...
Pekr
3-Jun-2007
[1105]
I would fire IT person who has anything against cookies ...
BrianH
3-Jun-2007
[1106x2]
Any decent antispyware program will delete the worst ones - the rest 
should be OK.
Of course that is on Windows.
Will
3-Jun-2007
[1108x4]
regarding window, I've experienced that adding this to the header 
will make IE accept cookies where without it wouldn't:
response/set-header 'P3P {CP="CAO DSP COR CURa ADMa DEVa OUR IND 
PHY ONL UNI COM NAV INT DEM PRE"}
althought the meaning of this is still a mistery for me ;-)
anyone in a hurry to have global and per domain rewrite-rules?
Oldes
3-Jun-2007
[1112x2]
http://en.wikipedia.org/wiki/P3P
http://msdn2.microsoft.com/en-us/library/ms537343.aspx
Will
3-Jun-2007
[1114]
thanks Oldes, I do not care much about win related stuff, I just 
wanted my cookies to work!  ;-)
Oldes
3-Jun-2007
[1115]
I'm just not sure if it's wise to send some bad informations using 
something what do not match your web page
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
[1129]
for verbose either you start cheyenne with -v -vv -vvv .. or look 
at the end of cheyenne.r for these two lines: