[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.8

CF 5 - Slow Page - Session errors?

Asked by fleshlight in ColdFusion Application Server

Tags: cf, 5, cfapplication, contquery, session

I'm having too many slow page entries in the server log.  I've tuned the db's, using stored procedures and cached queries.  Pages process under 50ms.  I've done all the performance monitoring, and can not find a reason that I'm getting so many slow page entries.  I suspect that there has to be a problem with our session managment.  Could there be a problem with my application file?


<cfapplication name="appname" clientmanagement="yes" sessionmanagement="Yes" setclientcookies="yes" sessiontimeout="#CreateTimeSpan(0, 2, 0, 1)#" applicationtimeout="#CreateTimeSpan(2, 0, 0, 1)#">

<cflock name="#Session.CFID#" timeout="5">
      <cfparam name="Session.Cart" default="">
      <cfparam name="Session.LastPg" default="index.cfm">
      <cfparam name="Session.CustID" default="0">
      <cfparam name="Session.OrderNo" default="0">
      <cfparam name="Session.SaveToCookie" default="0">
</cflock>
<cfif not isDefined('Session.CustInfo')>
      <cflock name="Session.CFID" timeout="5">
            <cfset Session.CustInfo=querynew("FName,LName,Company,Address1,Address2,City,State,Zip,Country,Phone,Email,Comments,ShipTo,inCookie,Maillist")>
      </cflock>
</cfif>

<cfif not isDefined('Session.ShipTo')>
      <cflock name="Session.CFID" timeout="5">
            <cfset Session.ShipTo=querynew("FName,LName,Address1,Address2,City,State,Zip,Country")>
      </cflock>
</cfif>

<cfif not isDefined('Session.CardData')>
      <cflock name="Session.CFID" timeout="5">
            <cfset Session.CardData=querynew("CardType,NameonCard,CardNumber,CVV2,Expiry")>
      </cflock>
</cfif>

<cfset curPath = ReplaceNocase(CGI.SCRIPT_NAME,"#GetFileFromPath(CGI.SCRIPT_NAME)#","")>
<cfif #LCase(GetFileFromPath(CGI.SCRIPT_NAME))# eq 'order.cfm' or #LCase(GetFileFromPath(CGI.SCRIPT_NAME))# eq 'cart.cfm'>
      <cfset regLnk="http://#CGI.SERVER_NAME##curPath#">
<cfelse>
      <cfset regLnk="">
</cfif>
<cfset cfQTrailer="CFID=#CFID#&CFTOKEN=#CFTOKEN#">
<cfparam name="ContQuery" default="0">
[+][-]02/09/04 07:19 PM, ID: 10318776Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: ColdFusion Application Server
Tags: cf, 5, cfapplication, contquery, session
Sign Up Now!
Solution Provided By: jyokum
Participating Experts: 3
Solution Grade: B
 
[+][-]02/09/04 07:29 PM, ID: 10318817Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/04 07:42 PM, ID: 10318885Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 08:04 PM, ID: 10319016Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/04 08:12 PM, ID: 10319050Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 08:18 PM, ID: 10319096Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/04 08:26 PM, ID: 10319135Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 08:26 PM, ID: 10319139Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 09:02 PM, ID: 10319334Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/04 09:03 PM, ID: 10319343Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 09:15 PM, ID: 10319396Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/04 09:28 PM, ID: 10319466Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/04 11:11 PM, ID: 10319898Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/10/04 10:00 AM, ID: 10324338Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/10/04 10:28 AM, ID: 10324629Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/11/04 09:29 AM, ID: 10334242Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89