1 Reply Latest reply on Dec 11, 2007 1:16 PM by BKBK

    Session is lost when navigate

    gayanb Level 1
      when navigation on website the session variables get deleted which is set on memberHome.cfm.
      Here is that code.
      <cfscript>
      session.Loginmember = authenticated;
      </cfscript>
      (authenticated is a struct)
      But when I'm navigated that variable can not be accessed.(eg-editProfile page can not get the details as session.LoginMember)
      On that URL it do not have the CFID and CFTOKEN variables.
      On Application.cfc I have set
      <cfscript>
      THIS.Name = "Test";
      THIS.sessionManagement = true;
      THIS.sessionTimeout = CreateTimeSpan(0, 0, 20, 0);
      THIS.setClientCookies = false;
      THIS.clientManagement = true;
      THIS.loginStorage = "session";
      THIS.scriptProtect = "all";
      </cfscript>

      I can not set client cookies true.
      And also making addtoken = true is possible only on cflocation tags as far as I know. But I want them on <a href> tags also.

      thanx