Re: New version of rSession available

2006-04-19 Thread Jason Baker
I didn't come here to split hairs over performance with you, just to provide 
some code to the community.

Here's what my debug info says for a decent sized wddx packet...

15 ms 15 ms 1 CFC[ C:\Inetpub\wwwroot\framework\lib\cfcs\framework_rsession.cfc 
| check() ] from C:\Inetpub\wwwroot\framework\lib\cfcs\framework_rsession.cfc 

0 ms 0 ms 1 CFC[ C:\Inetpub\wwwroot\framework\lib\cfcs\framework_rsession.cfc | 
save() ] from C:\Inetpub\wwwroot\framework\lib\cfcs\framework_rsession.cfc 

This is running on a very modest web & sql development server (P4 2.8ghz, 1gb 
ram)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238154
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New version of rSession available

2006-04-19 Thread Jason Baker
The functionality of this gives you more power over the scope than using client 
variables.  I've been using rsession since 2000, and working with the original 
author I converted everything to more mx-friendly code.  The hit to the db on 
my servers only uses 16ms, which is not really and issue for me.  

> I just looked at this code and while it solves a problem it creates 
> another one. You go from using session variables, to using the request 
> variable (try using cferror as a catch all on that scope, at least in 
> cf 6) then you wddx it all to a database. Why not just use client 
> variables to begin with? I try to stay away from client variables or 
> reading and writing excessively to a database because my database 
> server is the bottleneck in any of my applications. 
> 
> I think this app would be much cooler if you could actually duplicate 
> your session and application variables on another server so that when 
> your server fails over to the other one, the memory variables are 
> already there. 
> 
> 
> 
Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


New version of rSession available

2006-04-19 Thread Jason Baker
Hi all,

For those of you using rSession, I wanted to let you know that version
2.0is available, with better support for CFMX.

Here are some of the updates in the new version:

Uses CFC's instead of customtags

Session spy given a makeover

Cookies changed to use prefixes so that the component can be used on more
than one app per server

Added  tag to solve known issues with cflocation

Moved session clearing into the check function, since a lot of hosting
companies don't like the idea of a script scheduled to run every minute



Get it here: http://therippa.blogspot.com/2006/03/rsession-20.html


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54