<--- --------------------------------------------------------------------------------------- ---- Blog Entry: Large Mistake In My Session Management Logic Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?dax=blog:249.view Date Posted: Sep 8, 2006 at 7:59 AM ---- --------------------------------------------------------------------------------------- ---> // Check user agent. if ( (NOT Len(strTempUserAgent)) OR // We are testing the cookie values so that we are not // duplicating logic. This should provide a performance // increase of anyone accepting cookies. ( COOKIE.SessionScopeTested AND (NOT COOKIE.HasSessionScope) ) OR ... MANY OTHER CHECKS ... } else { ... LOGIC FOR SESSION-BASED USERS ... }