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

Search cf-talk

July 03, 2009

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

Home /  Groups /  ColdFusion Talk (CF-Talk)

Why aren't my session variables being set during login?

  << 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:
Rick Faircloth
01/06/2009 09:56 PM

I have a modal window, ajax-based login setup and have been working with it for a month now, locally, and it's been working fine. Now that I've transferred it to my server, I can't get it to set session variables.  Yes, session variables are enabled in CF Admin.  It's a private VPS, so sharing isn't an issue. Other than having to change some paths (which I thought I wouldn't have to do because I'm using an application.cfc and have mappings for the app) I haven't changed anything in the code. Login works well, but no session variables get set.  Perhaps I shouldn't be setting them in the manager_data.cfc, but it works locally, why not on the server? I've tried to debug this using Firebug, but just can't seem to figure out what the problem is.  I've got a session scope cfdump on the index.cfm page. Anyone care to look at http://sitemanager.fortstewart.com and login using email: guest@wsm.com and password: guest  ? What should happen when a user successfully logs in, is the session variables should be set that not only establishes the manager_id, but also checks the values (1 or 0) to determine whether or not various sections of the site manager should be available to the user. The account above has all permissions granted, so the menu on the index.cfm page should have a complete (about 12 items) menu once the user is logged in. If anyone has any ideas, I'd appreciate hearing them.  I'm supposed to turn this over to the client tomorrow... I can share all the code, if necessary.  I'm not at this point because it involves 6 different pages for the logic. Any ideas? Thanks! Rick

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
01/06/2009 11:20 PM

For anyone who may have tried to access the modal window, I forgot to put the email address and password for login in the production database. :oP Email:  guest@wsm.com Password:  guest Thanks, Rick ----- Excess quoted text cut - see Original Post for more -----


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

Mailing Lists