See if the problem goes away in Firefox. That will help identify
whether it is a browser setting you are overlooking, like cookies
being disabled.

It is likely that the session is still active on the server, but it is
no longer linked to the browser because the session token is
different. If you cfparam session.x=now() on the home page and on the
profile page, navigate from home to profile back to home, what is the
value of session.x (it is one of three values)?

Are you using J2EE sessions or the traditional ColdFusion sessions?
Try switching from one to the other to see if the problem goes away.

Make sure the URL is not changing from http://xyz.com to
http://www.xyz.com when you switch pages.

Some firewalls and proxy servers interfere with setting browser
cookies, if it is happening on more than one site.

Good luck,
Mike Chabot

On Sat, Oct 31, 2009 at 9:21 AM, Randy Adkins <[email protected]> wrote:
>
> I am baffled on this and probably something tremendously simple that I am
> overlooking.
>
> First the layout:
> Windows Vista (IIS 7)
> ColdFusion 9 (Developers Edition)
> Database: MySQL
> Internet Explorer 8.0
>
> File Structure:
> webroot \ (application.cfm and other files)
> webroot \ admin
>  webroot \ admin \ index.cfm
>  webroot \ admin \ profile.cfm
>
> ok, I can pull up the website, type in the login information and will be
> logged into the site successful and can see the administration home page
> located at: webroot\admin\index.cfm
>
> The Application.cfm file is located at the webroot level (there are no other
> application files (cfm or cfc) in this structure
> here is my CFAPP tag:
>
> CFAPPLICATION NAME="myTestSite" SETCLIENTCOOKIES="YES" SESSIONMANAGEMENT=
> "Yes" SESSIONTIMEOUT="#CreateTimeSpan(0, 0, 20, 0)#"
>
>
> Now, while I am on the admin home page, if I go to profile.cfm (which is
> located in the SAME folder, it loses the session).
> I can dump the session scope on the admin home page, and the cfid and
> cftokens are there, all my session variables are there.
> But as soon as I go to another page, it seems as the session is destroyed
> and all variables are lost. as now the cfid and tokens are different.
> hmm, just checked and it does not seem to be setting the client cookie
> either (Internet Explorer 8.0)
>
>
> Anyone else have this issue? I have many sites and all are acting the
> same...
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to