What is the best way create a session-less site?

This is the process i use to keep a session-less site?  Does anyone have any better suggestions?

var memberObj = {

MemberID = request.MemberStruct.userData.MemberID,
SessionKey = request.MemberStruct.userData.SessionKey,

};

cfcookie(

name = “cookiename”,
expires = 30,
value = “#encrypt(serializeJSON(memberObj,true),application.key,”cfmx_compat”,”hex”)#”,
httpOnly = true,
preserveCase = true,
secure = true
);

 

 

Leave a reply

Your email address will not be published. Required fields are marked *

By submitting this form, you accept the Mollom privacy policy.

Related