you don't "need" to have cookies turned on. as brian said, either turn 'em on or pass the CFID & CFTOKEN variables in each request (either via URL or form). session vars rely on the presence of the CFID and CFTOKEN vars to maintain state. this is either done via a cookie, or by passing those vars explicitly from request to request.
On Wed, Jan 7, 2009 at 5:02 PM, Rick Faircloth <[email protected]>wrote: > Hi, Brian! You hit the nail right on the head! > All I had to do was set "this.ClientCookies = true" and > the session variables are flying everywhere! > > But why was this working on my local setup? Everything > is the same? Does it have to do with a multi-site setup > on my VPS, perhaps? > > And why do I need to have cookies turned on? Do session > variables interact with them? I usually turn them on, > but since this is the way the first example application.cfc > I saw was set up, I copied the settings for the most part. > > What's your charge or where's your wish list? > Yay! I can sleep tonight! :o) > > Rick > > > -----Original Message----- > > From: Brian Kotek [mailto:[email protected]] > > Sent: Wednesday, January 07, 2009 7:51 PM > > To: cf-talk > > Subject: Re: Desparate!!!! Need someone to look at my code and figure out > the problem! > > > > You've got to set this.setClientCookies=true in the Application.cfc, or > pass > > the CFID/CFTOKEN/JSessionID in every URL and form post. > > > > On Wed, Jan 7, 2009 at 7:26 PM, Rick Faircloth <[email protected] > >wrote: > > > > > I'm willing to pay or buy a gift from a wishlist, but I need > > > to figure out this problem right away. Preferably this evening. > > > > > > I've got a good ajax/cfc based login system working locally, but > > > when I put it on my server, I can't get the session variables set. > > > > > > Session variables are enabled and I can dump them, but the login > > > variables, including manager_id, aren't getting set. > > > > > > Client not happy! > > > > > > I've got the code online where it can be viewed here: > > > > > > http://paste.pocoo.org/show/98539/ > > > > > > Those are the pages involved. > > > > > > Online you can view this app at > > > http://sitemanager.fortstewart.com > > > > > > After logging in, if the session variables were set, > > > the menu would change and contain about 15 items, as it does locally. > > > For some reason I can't figure out, it's not working on the server. > > > > > > Login credentials: > > > > > > Email: [email protected] > > > Password: guest > > > > > > Anyone interested???????? > > > > > > Rick > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317578 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

