I am all the sudden having a problem with some users sessions being set.
They say when they login they get kicked back out to my screen that says
their session has expired.

This is the code I have that will set the session when they login:

<cflock scope="session" timeout="10" type="exclusive">     
          <cfscript>
               session.UserData.UserName = Trim(arguments.UserName);
               session.UserData.testUserID = Trim(arguments.testUserID);
               session.UserData.ParentGroupID =
Trim(arguments.ParentGroupID);
               session.UserData.SchoolID = Trim(arguments.SchoolID);
               session.UserData.UserID = trim(arguments.UserID);     
               session.UserData.Email = trim(arguments.Email);     
               session.UserData.accessCode = trim(arguments.accessCode);

               session.UserData.readingComplete = "";          
          </cfscript>          
          </cflock>     



This is is the code I am using to check to make sure they have a active
session.



 

<cfscript>
     if(YesNoFormat(Application.Security.isUserAuthenticated()) EQ "No"
AND trim(attributes.fuseaction) EQ "personalinfo"){
 
Application.utils.redirect("#trim(request.webroot)#/index.cfm?fuseaction
=loginScreen&reason=Your session expired.");
     }else if(YesNoFormat(Application.Security.isUserAuthenticated()) EQ
"No"){
 
Application.utils.redirect("#trim(request.webroot)#/index.cfm?fuseaction
=loginScreen&reason=Your session expired. Check your email inbox for
your pin so you can login and continue your assessment.");
     }
</cfscript> 



Any ideas on why some users cannot get into the system?  This has been
working fine for about a year now all the sudden all these people are
having issues with it.  I am at the end of the rope on this one and
cannot figure it out...Any help/ideas would be greatly appreciated!
 
Jason
 
 




---------------------------------------
CONFIDENTIALITY NOTICE: The materials in this electronic mail transmission 
(including all attachments) are private and confidential and are the property 
of the sender. The information contained in the material is privileged and is 
intended only for the use of the named addressee(s). If you are not the 
intended addressee, be advised that any unauthorized disclosure, copying, 
distribution or the taking of any action in reliance on the contents of this 
material is strictly prohibited.  If you received this electronic mail message 
in error, please immediately notify the sender by sending a reply email and 
thereafter, destroy the electronic message immediately.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250763
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to