ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Donnie Carvajal
Does anyone know where the session variables are stored if Coldfusion is running in a distributed configuration? My assumption is the session variables are stored on the server running ColdFusion and not the web server, but you know what they say about assuming. Thanks, Donnie

Re: ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Mike Chabot
Sessions are stored on the server running ColdFusion. -Mike Chabot On Wed, May 12, 2010 at 1:07 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Does anyone know where the session variables are stored if Coldfusion is running in a distributed configuration?  My assumption

Re: ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Wil Genovese
with courage makes a majority. - Andrew Jackson On May 12, 2010, at 12:07 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Does anyone know where the session variables are stored if Coldfusion is running in a distributed configuration? My assumption is the session variables are stored

Re: ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Maureen
On the server running ColdFusion, but you can have some serious issues on load-balanced servers with session variables. On Wed, May 12, 2010 at 10:07 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Does anyone know where the session variables are stored if Coldfusion is running

RE: ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Paul Alkema
ColdFusion stores the session variables in the web server local RAM, however when using ColdFusion with distributed configuration you should store the sessions in the database because you don't know which machine will serve the next page causing inconsistent sessions. Paul Alkema http

Re: ColdFusion Session Variables in Distributed Config

2010-05-12 Thread Dave Watts
ColdFusion stores the session variables in the web server local RAM, however when using ColdFusion with distributed configuration you should store the sessions in the database because you don't know which machine will serve the next page causing inconsistent sessions. I suspect

RE: What happens to session variables after redirecting to https?

2010-04-01 Thread Paul Alkema
Hmm.. I don't think this is correct. My site doesn't pass tokens in order to keep session variables or cookies. When a user first lands on my http site, I set sessions/cookies and pass them to our cart which is https and both of them are transferred just fine and I don't pass any type cf tokens

RE: What happens to session variables after redirecting to https?

2010-04-01 Thread Eric Nicholas Sweeney
One work around I have had for this - is to force the users to the secure URL... IE: Links to the cart, add to cart and products (all shopping links) are hardcoded to https://www.yoursite.com -=- that way I know the URL and can help ensure the session variables stay intact... (Once they go

Re: What happens to session variables after redirecting to https?

2010-04-01 Thread Shaun Webster
this is correct. My site doesn't pass tokens in order to keep session variables or cookies. When a user first lands on my http site, I set sessions/cookies and pass them to our cart which is https and both of them are transferred just fine and I don't pass any type cf tokens. I don't know

Re: What happens to session variables after redirecting to https?

2010-04-01 Thread John Pullam
Good feedback. Glad to see I'm not the only one who has had some struggles here. I'm not the CF admin for the production sites I use, so I'm a bit unsure of exactly what is configured. But on my test site, when I look at my session variables, sessionid is always correctly set, whether http

What happens to session variables after redirecting to https?

2010-03-31 Thread John Pullam
happens to session variables across this transition? It looks to me as though they are all there, but I've observed a few unusual situations where that isn't always the case. Any practical experience or pointers to documentation about this would be appreciated

Re: What happens to session variables after redirecting to https?

2010-03-31 Thread Jason Fisher
No, from a cookie perspective, http://mysite.com and https://mysite.com are 2 different domains, so you need to send the session tokens across the gap. Any of a number of approaches can work, but here's the quick and dirty: cflocation url=https://#mySecureURL#; addtoken=yes / Or, if you are

Re: session variables

2010-03-23 Thread daniel kessler
Session data in ColdFusion is tied to unique combinations of user, browser and domain. And the http and https versions of your website are viewed as two different domains. This is due to the normal behavior of ColdFusion using cookies to pass the tokens that lets it know with

session variables

2010-03-22 Thread daniel kessler
is now having problems with their session variables when logging now that it is using http. Is this expected? Is there a session space that is different when using https rather than http? Is it maybe not letting go of old information? Am I explaining this well? If not, please ask questions

RE: session variables

2010-03-22 Thread Justin Scott
Since then, anyone that tried to log in when it was using https is now having problems with their session variables when logging now that it is using http. Are you using the secure attribute when setting the cookies? Is the SSL domain the same as the non-SSL domain (i.e. secure.example.com

Re: session variables

2010-03-22 Thread daniel kessler
Are you using the secure attribute when setting the cookies? I don't know about a secure attribute. I'm not setting cookies though, but session variables. Is the SSL domain the same as the non-SSL domain (i.e. secure.example.com vs. www.example.com)? I'm just adding an s to http

Re: session variables

2010-03-22 Thread Ian Skinner
On 3/22/2010 8:55 AM, daniel kessler wrote: Are you using the secure attribute when setting the cookies? I don't know about a secure attribute. I'm not setting cookies though, but session variables. CFML relies on two values CFID and CFTOKEN, or a single value JSESSIONID

Re: session variables

2010-03-22 Thread Jason Fisher
From a session perspective, the session cookie (the browser side of the session) for https://www.mysite.com is *not* shared with the session cookie for http://www.mysite.com. If crossing from one to the other, therefore, there are 2 options: 1) User has to log back in after the switch 2)

RE: session variables

2010-03-22 Thread Justin Scott
I'm not setting cookies though, but session variables. That's what I get for responding to the list while on the phone, doh! -Justin ~| Want to reach the ColdFusion community with something they want? Let them know

Re: session variables

2010-03-22 Thread daniel kessler
From a session perspective, the session cookie (the browser side of the session) for https://www.mysite.com is *not* shared with the session cookie for http://www.mysite.com. It sounds like they then won't mess with each other. If I wanted to get rid of the https variables then I could just

Re: session variables

2010-03-22 Thread Ian Skinner
On 3/22/2010 10:35 AM, daniel kessler wrote: Honestly, I'm not sure I'm understanding the problem and I am just trying to work through it. Session data in ColdFusion is tied to unique combinations of user, browser and domain. And the http and https versions of your website are viewed

onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady
We're seeing some weird behavior on one of our applications. It looks like if we check use j2ee session variables in the admin, the our Application.cfc's onSessionStart() isn't called. (I put a dump and an abort in onSessionStart() to verify it). Is there something different about j2ee

Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Dave Watts
We're seeing some weird behavior on one of our applications. It looks like if we check use j2ee session variables in the admin, the our Application.cfc's onSessionStart() isn't called.  (I put a dump and an abort in onSessionStart() to verify it). Is there something different about j2ee

Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady
Nope. (I had done everything fresh except for actually deleting the jsessionid cookies, but removing all of my cookies didn't fix the issue) Any other things? We can put in some kludge code in onrequeststart() to look for the existence of one of the session variables and manually call

Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Jochem van Dieten
On Fri, Mar 12, 2010 at 6:35 PM, Scott Brady wrote: It looks like if we check use j2ee session variables in the admin, the our Application.cfc's onSessionStart() isn't called.  (I put a dump and an abort in onSessionStart() to verify it). cfcomponent        cfset this.sessionManagement

Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady
Ugh. I knew it was something obvious. I swear it's not my code. I'm just troubleshooting. :) Thanks! Scott On Fri, Mar 12, 2010 at 12:19 PM, Jochem van Dieten joch...@gmail.com wrote: Doesn't your app have a name? Jochem -- - Scott Brady

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Lance S
= The key is the the cfapplication name has to match the application name that you have set you your application.cfm file. As long as the names match you should be able to access and manipulate your session variables. Hope this helps

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Rick Faircloth
your application.cfm file. As long as the names match you should be able to access and manipulate your session variables. Hope this helps ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Scott Stroz
has to match the application name that you have set you your application.cfm file. As long as the names match you should be able to access and manipulate your session variables.  Hope this helps ~| Adobe® ColdFusion® 8

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Rick Faircloth
. As long as the names match you should be able to access and manipulate your session variables. Hope this helps ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

Re: Is it not possible to set session variables in a cfc method?

2009-05-01 Thread Scott Stroz
access=remote name= The key is the the cfapplication name has to match the application name that you have set you your application.cfm file. As long as the names match you should be able to access and manipulate your session variables.  Hope this helps

Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
I'm trying to create a preview setup via cf, jquery, and ajax for a form. Before I get too deep into all this code, let me just ask this: Can I set session variables in the cfc method to the values of the form variables and use those back on the calling page? I'm doing it this way to prevent

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Barney Boisvert
To answer your core question, yes, you can set session variables inside CFCs and they'll be set just as effectively as setting them anywhere else. I didn't quite follow what you're doing, but it sounds like you probably have a race condition somewhere. Logging is often the best way to find

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Ian Skinner
Rick Faircloth wrote: Thoughts? Suggestions? Thanks, Rick For ANY CFML code to share application and|or session state data they must share the same Application name, usually set with a cfapplicaiton name=... OR this.name= line in either Application.cfm or Application.cfc files. When

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
on the list... Rick On Wed, Apr 29, 2009 at 4:25 PM, Barney Boisvert bboisv...@gmail.comwrote: To answer your core question, yes, you can set session variables inside CFCs and they'll be set just as effectively as setting them anywhere else. I didn't quite follow what you're doing, but it sounds like

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Ian Skinner
Rick Faircloth wrote: The calling page isn't refreshing, it's just having the content *added* to the page via jquery. JQuery is *NEVER* going to have access to read or write ColdFusion session data. ColdFusion session data is on the server and JQuery is on the client and they do not share

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Maureen
Write a Coldfusion function that sets a structure equal to session variables and and pass that structure back to qQuery. Then the client has access to the session data. On Wed, Apr 29, 2009 at 1:41 PM, Ian Skinner h...@ilsweb.com wrote: Rick Faircloth wrote: The calling page isn't refreshing

RE: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Josh Nathanson
: Is it not possible to set session variables in a cfc method? I'm trying to create a preview setup via cf, jquery, and ajax for a form. Before I get too deep into all this code, let me just ask this: Can I set session variables in the cfc method to the values of the form variables and use those

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Thanks for the insight, Ian, but that's not a problem here. I have the components under the webroot. Rick On Wed, Apr 29, 2009 at 4:26 PM, Ian Skinner h...@ilsweb.com wrote: Rick Faircloth wrote: Thoughts? Suggestions? Thanks, Rick For ANY CFML code to share application and|or

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 29, 2009 1:14 PM To: cf-talk Subject: Is it not possible to set session variables in a cfc method? I'm trying to create a preview setup via cf, jquery, and ajax for a form. Before I get too deep into all

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
, Apr 29, 2009 at 4:51 PM, Maureen mamamaur...@gmail.com wrote: Write a Coldfusion function that sets a structure equal to session variables and and pass that structure back to qQuery. Then the client has access to the session data. On Wed, Apr 29, 2009 at 1:41 PM, Ian Skinner h...@ilsweb.com

Re: Client Variables to Session Variables

2009-04-03 Thread Richard White
you have two input fields (3rd and 4th) where name attribute is name3 and the first 2 input fields need to have id tags Hi All, I am trying to merge three textfield values (month,day and year for DOB)into one and trying to store in a session. Javascript is a client side variable

Client Variables to Session Variables

2009-03-30 Thread Priya Koya
Hi All, I am trying to merge three textfield values (month,day and year for DOB)into one and trying to store in a session. Javascript is a client side variable and I am unable to store it to session variable . Can anyone help me with this? See below is the code I am trying to do and I also

How can I find my session variables from an asynchronous post?

2009-02-25 Thread John Pullam
I am using PayPal and it will be posting me asynchronously to confirm payment, so I don't think I will have direct access to my session variables. I would like to do something to use them from server memory rather than having to create a temporary file and pass its record id around

Re: How can I find my session variables from an asynchronous post?

2009-02-25 Thread Tony Bentley
On the post back you can get them ~| 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:

Re: How can I find my session variables from an asynchronous post?

2009-02-25 Thread John Pullam
On the post back you can get them ? How ?? Maybe I'm missing something but it was my understanding that the POST would not think it is running my application so it would not have the variables. ~| Adobe®

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

2009-01-06 Thread Rick Faircloth
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

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

2009-01-06 Thread Rick Faircloth
: Tuesday, January 06, 2009 9:48 PM To: cf-talk Subject: Why aren't my session variables being set during login? 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

Re: Judicious use of session variables, how much is too much

2008-12-09 Thread Nathan Strutz
. But yes session variables can have a performance impact. Secondly, when others on the list build apps, what criteria do you use when determining when and where to use session vars? I use session liberally because they are simple and handy. But I work on low load corporate intranet

Re: Judicious use of session variables, how much is too much

2008-12-09 Thread Nathan Strutz
. But yes session variables can have a performance impact. Secondly, when others on the list build apps, what criteria do you use when determining when and where to use session vars? I use session liberally because they are simple and handy. But I work on low load corporate intranet

Re: Judicious use of session variables, how much is too much

2008-12-09 Thread Nathan Strutz
that uses session variables all over the place.. I think every form variable has been moved to the session scope. I'm in the process of documenting them, and I have 67 variables documented so far. My question is: How much is too much and will having this many session vars affect performance

Judicious use of session variables, how much is too much

2008-12-08 Thread Scott Stewart
I've inherited an application that uses session variables all over the place.. I think every form variable has been moved to the session scope. I'm in the process of documenting them, and I have 67 variables documented so far. My question is: How much is too much and will having this many session

Re: Judicious use of session variables, how much is too much

2008-12-08 Thread Ian Skinner
the 67 variables containing booleans. But yes session variables can have a performance impact. Secondly, when others on the list build apps, what criteria do you use when determining when and where to use session vars? I use session liberally because they are simple and handy. But I work on low

locking session variables in cf8

2008-12-07 Thread j s
When creating session structures is it still necessary to cflock in cf8? I think i read somewhere that it was no longer needed but I was probably dreaming. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic

Re: locking session variables in cf8

2008-12-07 Thread Matt Quackenbush
In virtually every case, locking session vars has been completely unnecessary since CFMX (6.0) came out. On Sun, Dec 7, 2008 at 3:12 PM, j s [EMAIL PROTECTED] wrote: When creating session structures is it still necessary to cflock in cf8? I think i read somewhere that it was no longer needed

Re: locking session variables in cf8

2008-12-07 Thread Mike Chabot
Lock to avoid problems with race conditions in the places where these might be an issue. Many Web applications have places where unhandled race conditions can be a problem. -Mike Chabot On Sun, Dec 7, 2008 at 4:36 PM, Matt Quackenbush [EMAIL PROTECTED] wrote: In virtually every case, locking

Re: locking session variables in cf8

2008-12-07 Thread Brad Wood
prevent multiple processes from trying to instantiate the shared variable all at the same time. ~Brad - Original Message - From: j s [EMAIL PROTECTED] To: cf-talk cf-talk@houseoffusion.com Sent: Sunday, December 07, 2008 3:12 PM Subject: locking session variables in cf8 When creating

RE: Single vs Cluster - Session Variables - session.cfid HELP

2008-08-05 Thread Dave Watts
Why is it that I can get a I thought a session.cfid out of a single server config, but not a cluster? From the code below, I get an error on a cluster configuration. Element CFID is undefined in SESSION. As others have already mentioned, session replication requires the use of J2EE

Re: Accessing multiple pages from different servers to destroy session variables

2008-07-31 Thread Brian Dumbledore
Brain Dumbledore is dead: http://www.hpana.com/news.19531.html You are an imposter! Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't

Single vs Cluster - Session Variables - session.cfid HELP

2008-07-30 Thread coldfusion . developer
Why is it that I can get a I thought a session.cfid out of a single server config, but not a cluster? From the code below, I get an error on a cluster configuration. Element CFID is undefined in SESSION. The error occurred in D:\Inetpub\wwwroot\website\Application.cfm: line 9 7 : 8 : !---

RE: Single vs Cluster - Session Variables - session.cfid HELP

2008-07-30 Thread Adrian Lynch
I could be way off here and someone with more knowledge in this area will hopefully pipe up, but should you not be using jsessionid? Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 July 2008 16:47 To: CF-Talk Subject: Single vs Cluster - Session

Accessing multiple pages from different servers to destroy session variables

2008-07-30 Thread Omer Naeem
variables as all these applications are running on different servers at different locations. Can someone help me how can I destroy all the session variables on different applications. Is there a way I can use cfhttp or I should use something else. Thanks in advance for any help you provide

Re: Single vs Cluster - Session Variables - session.cfid HELP

2008-07-30 Thread rex
Hello, Check the ff on all your cluster members: 1. REPLICATE SESSIONS option enabled 2. J2EE Sessions enabled Also, when initially setting up, you'd have to stop and start all instances. Btw, are you clustering multiple instances on the same machine (vertical cluster) or across physical

Re: Accessing multiple pages from different servers to destroy session variables

2008-07-30 Thread Brian Dumbledore
variables as all these applications are running on different servers at different locations. Can someone help me how can I destroy all the session variables on different applications. Is there a way I can use cfhttp or I should use something else. Thanks in advance for any help you provide

RE: Accessing multiple pages from different servers to destroy session variables

2008-07-30 Thread Robert Harrison
From: Brian Dumbledore [mailto:[EMAIL PROTECTED] Brain Dumbledore is dead: http://www.hpana.com/news.19531.html You are an imposter! Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F :

Sticky Sessions - managing session variables- Any Difference?

2008-07-28 Thread coldfusion . developer
Is there a difference between regular application, session variable managment vs how it should be done using sticky sessions? Does anyone know of any good articles? Thanks D ~| Adobe® ColdFusion® 8 software 8 is the most

RE: Would this create session variables?

2008-06-18 Thread Rick Faircloth
, 2008 11:57 PM To: CF-Talk Subject: Re: Would this create session variables? try this: cfloop list=#get_agent.columnList# index=i cfset session[i] = get[i][1] / /cfloop cheers, barneyb On Mon, Jun 16, 2008 at 8:44 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Would this part

RE: Would this create session variables?

2008-06-18 Thread Jason Durham
session variables? Thanks for the tip and code, Alan Barney! It's working great! I was concerned that I may end up having to hard-code the variables and that would greatly reduce the reusability of the cfc. Rick -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent

Would this create session variables?

2008-06-16 Thread Rick Faircloth
Would this part of a cffunction create individual session variables from the query? cfquery name=get_agent datasource=c21ar SELECT * FROM our_agents WHERE website = '#arguments.website#' /cfquery cfset session.get_agent = get_agent / cfif get_agent.recordCount

Re: Would this create session variables?

2008-06-16 Thread Alan Rother
Rick, What you have literally done is switch scopes on your query variable: cfquery name=get_agent datasource=c21ar SELECT * FROM our_agents WHERE website = '#arguments.website#' /cfquery cfset session.get_agent = get_agent / get_agent is actually, variables.get_agent, which is

Re: Would this create session variables?

2008-06-16 Thread Barney Boisvert
try this: cfloop list=#get_agent.columnList# index=i cfset session[i] = get[i][1] / /cfloop cheers, barneyb On Mon, Jun 16, 2008 at 8:44 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Would this part of a cffunction create individual session variables from the query? cfquery name=get_agent

Re: Session variables across servers

2008-05-09 Thread Jochem van Dieten
Scott Stewart wrote: I'm looking for different possibilities it's a rig until they move the sites to the same server... You efforts are probably better spent speeding up the site move. Jochem ~| Adobe® ColdFusion® 8

RE: Session variables across servers

2008-05-09 Thread Scott Stewart
PROTECTED] Sent: Friday, May 09, 2008 3:20 AM To: CF-Talk Subject: Re: Session variables across servers Scott Stewart wrote: I'm looking for different possibilities it's a rig until they move the sites to the same server... You efforts are probably better spent speeding up the site move

Session variables across servers

2008-05-08 Thread Scott Stewart
Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do you implement this in ColdFusion? Thanks

RE: Session variables across servers

2008-05-08 Thread Brad Wood
-Talk Subject: Session variables across servers Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
, 2008 11:57 AM To: CF-Talk Subject: RE: Session variables across servers Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
: Thursday, May 08, 2008 11:57 AM To: CF-Talk Subject: RE: Session variables across servers Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between

RE: Session variables across servers

2008-05-08 Thread Dave Watts
We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. If you're using cookies for your session tokens, they can't

RE: Session variables across servers

2008-05-08 Thread Scott Stewart
Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 12:22 PM To: CF-Talk Subject: RE: Session variables across servers We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding

Session variables expiration issue

2008-05-02 Thread marc --
Hello, Just a basic question about session variables.I can't get them to 100% work as I want. Maybe I don't understand so that's when it's time to turn to the list :) I want to use session variables that expire a) when the user closes the browser OR b) when a session times out,whatever comes

Session variables expireation issue

2008-05-02 Thread marc --
Hello, Just a basic question about session variables.I can't get them to 100% work as I want. Maybe I don't understand so that's when it's time to turn to the list :) I want to use session variables that expire a) when the user closes the browser OR b) when a session times out,whatever comes

RE: Session variables expireation issue

2008-05-02 Thread Bobby Hartsfield
Just use J2EE session variables within the CF administrator. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: marc -- [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 4:53 PM To: CF-Talk Subject: Session variables

RE: Session variables expiration issue

2008-05-02 Thread Dave Watts
Just a basic question about session variables.I can't get them to 100% work as I want. Maybe I don't understand so that's when it's time to turn to the list :) I want to use session variables that expire a) when the user closes the browser OR b) when a session times out,whatever comes

Re: Session variables expireation issue

2008-05-02 Thread marc --
Ok, I found the cause: onSessionStart() cfset THIS.sessionTimeout = #CreateTimeSpan(0,0,0,10)# cfoutput#THIS.sessionTimeout #/cfoutput outputs 10. Which means 10 days since the createTimespan() function returns units of days (eg CreateTimespan(1,0,0,0)eq 1 and CreateTimespan(0,12,0,0) eq 0.5)

.Net Session variables

2008-01-10 Thread Smith, Daron [PA]
Can CF 8 share .NET session variables out of the box w/o a 3rd party product like blue dragon? Thanks, Daron Smith PSEA E-mail Firewall annotation on Thu Jan 10 2008 07:49:49 - NOTICE: Only the individual sender

No Longer Need to Lock Session Variables?

2007-12-09 Thread Rick Faircloth
Hi, all. Now, remember, I'm still learning to write CF8 code straight from CF4.5 code, so. Is my understanding correct that I no longer need to place cflocks around any setting or reading of session variables? Thanks, Rick

Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Casey Dougall
On 12/9/07, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all. Now, remember, I'm still learning to write CF8 code straight from CF4.5 code, so. Is my understanding correct that I no longer need to place cflocks around any setting or reading of session variables? Thanks, Rick

Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Matt Robertson
Not really. You still need to lock around any potential race conditions. Perosnally I tend not to lock reads and always lock writes, unless there is a race condition possibility on the read, in which case I lock that too.. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Jim Davis
-Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, December 09, 2007 1:18 PM To: CF-Talk Subject: No Longer Need to Lock Session Variables? Hi, all. Now, remember, I'm still learning to write CF8 code straight from CF4.5 code, so. Is my

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Rick Faircloth
Casey, Matt, Jim... Thanks for the info! Rick -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Sunday, December 09, 2007 2:14 PM To: CF-Talk Subject: RE: No Longer Need to Lock Session Variables? In short you no longer need to do this to ensure server

Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Nicholas M Tunney
Subject: RE: No Longer Need to Lock Session Variables? In short you no longer need to do this to ensure server reliability (the structures which hold this information are now thread-safe) - no more crashes because of locking. (5 year-old Yay!) (Just kidding - we went straight from 4.5 to 7 so I

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Rick Faircloth
09, 2007 8:54 PM To: CF-Talk Subject: Re: No Longer Need to Lock Session Variables? I didn't see earlier posts to this thread, but it is worth noting that if you are using Application.cfc and calling onApplicationStart() or onSessionStart() explicitly, you will still need to lock

Session variables and cookies

2007-05-24 Thread Curt Schryver
Okay, I've searched the archives but want to get it straight. I've built a shopping cart using session variables. But, it looks like if a user has cookies turned off, the cart won't retain the contents. Is this correct? I've also read about using URLSessionFormat, but seen some posting

Re: Session variables and cookies

2007-05-24 Thread Josh Nathanson
Okay, I've searched the archives but want to get it straight. I've built a shopping cart using session variables. But, it looks like if a user has cookies turned off, the cart won't retain the contents. Is this correct? Yes, if you are not passing the CFID and CFTOKEN with a request

Re: Session variables and cookies

2007-05-24 Thread Robertson-Ravo, Neil (RX)
Message- From: Curt Schryver To: CF-Talk Sent: Thu May 24 19:57:28 2007 Subject: Session variables and cookies Okay, I've searched the archives but want to get it straight. I've built a shopping cart using session variables. But, it looks like if a user has cookies turned off, the cart won't

RE: Session variables and cookies

2007-05-24 Thread Peterson, Chris
to upgrade or enable cookies if they want to use the site to its fullest =) Just my $.02 Chris Peterson -Original Message- From: Curt Schryver [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:57 PM To: CF-Talk Subject: Session variables and cookies Okay, I've searched the archives

editing session variables

2007-05-10 Thread Won Lee
Hi, I want to edit the values of someone else's session variables. I have a session variable named session.user.isLoggedIn. I want to set it to 0. I have the session.sessionID. The reason I want to do this is because I want to be able to close my old session when I log in from another

Re: editing session variables

2007-05-10 Thread Mike Chabot
on Ray Camden's site. Good luck, Mike Chabot On 5/10/07, Won Lee [EMAIL PROTECTED] wrote: Hi, I want to edit the values of someone else's session variables. I have a session variable named session.user.isLoggedIn. I want to set it to 0. I have the session.sessionID. The reason I want to do

Re: editing session variables

2007-05-10 Thread Andrew Scott
off. On 5/11/07, Won Lee [EMAIL PROTECTED] wrote: Hi, I want to edit the values of someone else's session variables. I have a session variable named session.user.isLoggedIn. I want to set it to 0. I have the session.sessionID. The reason I want to do this is because I want to be able

J2EE session variables

2007-02-12 Thread Scott Stewart
Hey all.. Can somone post a quick overview of the advantages/disadvantages of J2EE session vars vs. standard CF Session vars. my understanding is that the J2EE vars will span between clustered servers amongst other things. thanks sas

<    1   2   3   4   5   6   7   8   9   10   >