Problem with admin login

28 views
Skip to first unread message

James Husum

unread,
Mar 11, 2013, 7:58:31 AM3/11/13
to blo...@googlegroups.com
Greetings,

I'm finally getting back to working with blogcfc on my site. I'm having an issue with the admin login.

When I log in to the admin area it logs in to the site, displays the main admin page page with all the text and navigation links, but then it displays the admin login form again on top of the text. Clicking on any of the admin links takes me back to the login screen.

Doing some debugging it looks like the session variable telling the system I'm logged in is there up until the time the latest version check runs. Then the session variable gets deleted.

This is running fine on my local dev box with no issues. But it isn't running on my site, which is in a shared hosting environment.

Any ideas on what might be going on?

Thanks.

Raymond Camden

unread,
Mar 11, 2013, 8:15:26 AM3/11/13
to blo...@googlegroups.com
By any wild chance is the default session timeout set to something incredibly low in the CF Admin?

If you make a new folder, OUTSIDE of blogcfc, with an App.cfc and session management and do something like this:

<cfparam name="session.hits" default="0">
<cfset session.hits++>
<cfoutput>Hits=#session.hits#</cfoutput>

If you do this, and hit it, and notice it keeps going back to 1, then maybe it's what I described above.




--
You received this message because you are subscribed to the Google Groups "BlogCFC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blogcfc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaster
Reply all
Reply to author
Forward
0 new messages