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

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

can't log in with client variable on apache virtual host

Author:
Brad Wood
08/24/2007 02:12 PM

Are you using sub-domains?  It could be a problem with domain cookies. Look in your debugging info or dump the client scope to determine if the adminloggedin variable is really getting set the way you expect. ~Brad I have several virtual hosts set up, one for each site.  When I try to log into the admin section, which uses a client variable to set log in status, I just keep getting the log in page even after putting in the correct password. The login portion of code is simple: <cfset client.adminloggedin = "1"> Is there a problem with client variables if you are using virtual hosts? All the virtual hosts have a mapping in my hosts file to 127.0.0.1.


Search cf-talk

March 18, 2010

<<   <   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