Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF MX 7.02 Slow session Start up

Guest
May 02, 2008 May 02, 2008
I am writting an application and I am having a very strange issue that I have never seen before. When a new session is created, it takes exactly 12 seconds (sometimes 11.999 seconds) to run the page. After the session has started everything works as usual.

I am using an application.cfc page. When I remove
<CFSET THIS.SessionManagement = true />
<CFSET THIS.SessionTimeout = CreateTimeSpan( 0, 1, 0, 0 ) />
as well as the OnSessionStart method, it starts up fine (albeit without session vaiables.) I can reproduce it everytime on my live cluster for one site only. Works fine in my dev server, and other sites on my live server cluster. It happens on all servers in the cluster for this one site.

I tried removing the application.cfc and replacing with application.cfm using the CFAPPLICATION tag. Same thing.

Windows 2003 Server.

Please help.

EDIT: All sites on this cluster are affected.
322
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 03, 2008 May 03, 2008
have you configured the use of application and session variables in the Coldfusion Administrator? I miss the applicationtimeout value. What is it? Do you have any business in onSessionStart that requires exactly 12 seconds? Is the application page called Application.cfc? Perhaps way out, but you mentioned it with small-a twice.



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 05, 2008 May 05, 2008
Thanks for your response.

Im not sure what you mean about configured. Application variables are enabled with 2 day default timeout. Same with session.

ApplicationTimeout it 1 day.

There is nothing in the onSessionStart that requires exactly 12 seconds. I removed the application.cfc and replaced it with an application.cfm that just has the CFAAPLICATION tag, and had the same thing.

My application.cfc does have a lowercase 'a'. I am running on a windows machine. Would that make a difference?

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 05, 2008 May 05, 2008
My application.cfc does have a lowercase 'a'. I am running on a windows machine. Would that make a difference?

It might. You should in any case use uppercase 'A'. Do you then notice any difference?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 07, 2008 May 07, 2008
LATEST
Thanks for your help. Before I could try it, it seemed to have corrected itself. That concerns me, but not sure what I can do.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources