House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

I want to re-authenticate the user

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adalberto Gallardo
10/25/2007 03:57 PM

The problem is not when the session ends, but when the user enters again to the system after his(her) session ended. The applications shows the login template, the user enter the user name and password and the application (I do not know how) authenticates the user and let him(her) to enter without running my: <cfset roles=session.security.login(cflogin.name,cflogin.password)>   Nor my: <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles =#roles#"> And that is why I end up with a loged in user without my “session.userInfo” variable. I already try loging out the user in the onSessionEnd but it did not work either. My solution works but I want to know why is this happening, and why sometimes its authenticates and sometimes not. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard White
10/26/2007 09:24 AM

Have you ticked the j2ee session variables checkbox in the cf administrator under memory variables. not sure if this will help it but i have had alot of problems with session variables if this is not ticked as the session remains active even if you close the browser. when this is ticked it deletes all session variables when the browser closes


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference