Re: Deleting session variables

2003-01-31 Thread Clint Tredway
use the variables scope for page vars.. Clint - Original Message - From: "Thane Sherrington" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 10:16 AM Subject: RE: Deleting session variables > At 04:05 PM 01/31

RE: Deleting session variables

2003-01-31 Thread Thane Sherrington
At 04:05 PM 01/31/03 +, Robertson-Ravo, Neil (RX) wrote: >True, I do agree that you should scope everything but ColdFusion doesn't >strictly enforce it so you dont have to (whos fault is that?), also with a >good naming convention you really shouldn't have any naming conflicts - not >a page by

RE: Deleting session variables

2003-01-31 Thread Burcham, Steve
To delete the session vars use Steve Burcham -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:32 AM To: CF-Talk Subject: Deleting session variables Using CF5. I setup two session variables on one page, and on the next, I check t

RE: Deleting session variables

2003-01-31 Thread Robertson-Ravo, Neil (RX)
- From: WebMaster [mailto:[EMAIL PROTECTED]] Sent: 31 January 2003 16:03 To: CF-Talk Subject: Re: Deleting session variables For one thing you should always "scope" your reference to a var. It is possible that somewhere on the page, or in the URL, or in a FORM var, you passed one with t

RE: Deleting session variables

2003-01-31 Thread Thane Sherrington
At 04:55 PM 01/31/03 +0100, Pascal Peters wrote: >You should check > > MissedQuestionID Still Defined. > Of course. How stupid of me. :) Thanks. T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4

Re: Deleting session variables

2003-01-31 Thread WebMaster
For one thing you should always "scope" your reference to a var. It is possible that somewhere on the page, or in the URL, or in a FORM var, you passed one with the same name as your session var. - Original Message - From: "Thane Sherrington" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROT

RE: Deleting session variables

2003-01-31 Thread Pascal Peters
You should check MissedQuestionID Still Defined. -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: vrijdag 31 januari 2003 16:32 To: CF-Talk Subject: Deleting session variables Using CF5. I setup two session variables on one page, and on the next, I

RE: Deleting session variables

2003-01-31 Thread Steve Dworman
structdelete(session, "varName"); mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:32 AM To: CF-Talk Subject: Deleting session variables Using CF5. I setup two session variables on one page, and on the next, I check them and then at the end of the second page, I use this cod

RE: RE: deleting session variables when browser is closed

2002-03-20 Thread Bryan Love
7;If there must be trouble, let it be in my day, that my child may have peace'..." - Thomas Paine, The American Crisis -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 4:24 PM To: CF-Talk Subject: RE: RE: deleting session varia

Re: RE: deleting session variables when browser is closed

2002-03-20 Thread Douglas Brown
"Success is a journey, not a destination!!" Doug Brown - Original Message - From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 4:23 PM Subjec

RE: RE: deleting session variables when browser is closed

2002-03-20 Thread Dave Watts
> The cfid and cftoken are stored in the session struct however > (but I don't know what they are doing there...). CF has to store the CFID and CFTOKEN values, and compare them against those received from the browser to determine if those are your session variables. Dave Watts, CTO, Fig Leaf So

RE: deleting session variables when browser is closed

2002-03-20 Thread Dave Watts
> In your CFapplication tag set the attribute "setClientCookies" > to NO. That way the CFID and CFTOKEN are stored in the session > struct and when the browser closes there is no persistence. > > I should really learn to be more explicit in my short answers. > > If setClientCookies is set to Y

RE: RE: deleting session variables when browser is closed

2002-03-20 Thread Bryan Love
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 2:41 PM To: CF-Talk Subject: Re: RE: deleting session variables when browser is closed Hmm, I don't think that's true either. Setting setclientcookies to "no" means that any links mu

RE: deleting session variables when browser is closed

2002-03-20 Thread Matt Robertson
Original Message- From: Douglas Jordon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 1:33 PM To: CF-Talk Subject: Re: deleting session variables when browser is closed thankee kindly Shawn Regan wrote: > > > > > > > > -Shawn Regan >

Re: RE: deleting session variables when browser is closed

2002-03-20 Thread ksuh
nal Message - From: Bryan Love <[EMAIL PROTECTED]> Date: Wednesday, March 20, 2002 3:18 pm Subject: RE: deleting session variables when browser is closed > Very well then. > > In your CFapplication tag set the attribute "setClientCookies" to > NO. That > way t

RE: deleting session variables when browser is closed

2002-03-20 Thread Bryan Love
PROTECTED] +---+ "...'If there must be trouble, let it be in my day, that my child may have peace'..." - Thomas Paine, The American Crisis -Original Message- From: Douglas Jordon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 1:33 PM To: CF-Talk Subject:

Re: RE: deleting session variables when browser is closed

2002-03-20 Thread ksuh
Umm, no. - Original Message - From: Bryan Love <[EMAIL PROTECTED]> Date: Wednesday, March 20, 2002 2:17 pm Subject: RE: deleting session variables when browser is closed > session variables are automatically deleted when the browser is > closed.That is

Re: deleting session variables when browser is closed

2002-03-20 Thread Douglas Jordon
thankee kindly Shawn Regan wrote: > > > > > > > > -Shawn Regan > > -Original Message- > From: Douglas Jordon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 20, 2002 1:15 PM > To: CF-Talk > Subject: deleting session variables when browser is closed > > > I seem to re

RE: deleting session variables when browser is closed

2002-03-20 Thread Mike Chambers
> Sent: Wednesday, March 20, 2002 4:18 PM > To: CF-Talk > Subject: RE: deleting session variables when browser is closed > > > session variables are automatically deleted when the browser > is closed. That is their nature. > > +

RE: deleting session variables when browser is closed

2002-03-20 Thread Brunt, Michael
PROTECTED]] Sent: Wednesday, March 20, 2002 1:24 PM To: CF-Talk Subject: Re: deleting session variables when browser is closed OK. Then is there a reason why they might not? I can close all windows, relaunch the browser and there they are. Bryan Love wrote: > session variables are automati

RE: deleting session variables when browser is closed

2002-03-20 Thread Dave Watts
> session variables are automatically deleted when the browser > is closed. That is their nature. No, they're not. The server doesn't know when the browser is closed. It only knows that some period has passed since the last request from that browser. Also, by default, the cookies created by CF a

RE: deleting session variables when browser is closed

2002-03-20 Thread Shawn Regan
-Shawn Regan -Original Message- From: Douglas Jordon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 1:15 PM To: CF-Talk Subject: deleting session variables when browser is closed I seem to remember that once upon a time code was posted to delete a session var

Re: deleting session variables when browser is closed

2002-03-20 Thread Douglas Jordon
OK. Then is there a reason why they might not? I can close all windows, relaunch the browser and there they are. Bryan Love wrote: > session variables are automatically deleted when the browser is closed. > That is their nature. __

RE: deleting session variables when browser is closed

2002-03-20 Thread Bryan Love
session variables are automatically deleted when the browser is closed. That is their nature. +---+ Bryan Love Macromedia Certified Professional Internet Application Developer Database Analyst Telecommunication Systems [EMAIL PROTECTED] +-

RE: deleting session variables

2001-01-08 Thread Paul Johnston
We do have one reason for not using session vars. Clustering. It takes out the need to worry about the variables being held in memory. Paul -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 07, 2001 7:57 AM To: CF-Talk Subject: RE: deleting session

RE: deleting session variables

2001-01-06 Thread Dave Watts
> On first impression using client and session in the same app > could be viable if; > > 1. client requires accessing client storage while session > "stays within" the CFAS memory space. > 2. if there are vars that need to persist after a session > and that are useful to have readily available f

RE: deleting session variables

2000-12-12 Thread Dylan Bromby
use StructDelete(). use "session" as the key and just use the session var name. -Original Message- From: S R [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 2:32 PM To: CF-Talk Subject: deleting session variables Hi, I am using this code to delete my session variables when

Re: deleting session variables

2000-12-12 Thread pan
From: "Dave Watts" <[EMAIL PROTECTED]> Subject: RE: deleting session variables > A better question for you, though, might be why you're using both Session > and Client variables - two ways of doing the same thing? That's probably not > the best approach. &

RE: deleting session variables

2000-12-12 Thread Dave Watts
> I am using this code to delete my session variables when a > user closes their browser: > > > > > > > > > The only problem is that it also deletes my client variables > upon closing the browser. Is there any way to just delete session > variables and leav

RE: Deleting Session Variables

2000-11-20 Thread Sandra Clark
-Original Message- From: Scott Wolf [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 19, 2000 11:14 PM To: CF-Talk Subject: RE: Deleting Session Variables Will arraydelete kill all of the session vars for just that one session? I'm trying to

RE: Deleting Session Variables

2000-11-20 Thread Dylan Bromby
this works in 4.0.1 as well. -Original Message- From: Christopher Olive, CIO [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 6:49 AM To: CF-Talk Subject: RE: Deleting Session Variables actually, SESSION variables are in a structure (in 4.5+). you can do a StructDelete

RE: Deleting Session Variables

2000-11-20 Thread Christopher Olive, CIO
actually, SESSION variables are in a structure (in 4.5+). you can do a StructDelete(SESSION, varname) to get rid of a particular SESSION variable. chris olive, cio cresco technologies [EMAIL PROTECTED] http://www.crescotech.com -Original Message- From: Scott Wolf [mailto:[EMAIL PROTEC

RE: Deleting Session Variables

2000-11-20 Thread Dylan Bromby
eting Session Variables Thanks for the help. I've got it working now. :P Scott Wolf -Original Message- From: Bill Killillay [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 2:41 AM To: CF-Talk Subject: RE: Deleting Session Variables Rob, Seems to me that if you do it this

Re: Deleting Session Variables

2000-11-20 Thread Rob Keniger
on 11/20/00 5:40 PM, Bill Killillay at [EMAIL PROTECTED] wrote: > Seems to me that if you do it this way, your not only > expiring the session var's for the intended user, but also > for everybody else using that "application" at that time. Hmm. I don't think it works that way. This method is re

RE: Deleting Session Variables

2000-11-19 Thread Scott Wolf
Thanks for the help. I've got it working now. :P Scott Wolf -Original Message- From: Bill Killillay [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 2:41 AM To: CF-Talk Subject: RE: Deleting Session Variables Rob, Seems to me that if you do it this way, your not

Re: Deleting Session Variables

2000-11-19 Thread Danny Davis
user's session. > > Scott Wolf > > -Original Message- > From: Scott M. Berry [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 20, 2000 2:13 AM > To: CF-Talk > Subject: Re: Deleting Session Variables > > > Session variables are stored in an array. Yo

RE: Deleting Session Variables

2000-11-19 Thread Bill Killillay
Rob, Seems to me that if you do it this way, your not only expiring the session var's for the intended user, but also for everybody else using that "application" at that time. > Just expire the session in Application.cfm: > > > name="myapp" > sessionmanagement="yes" >

Re: Deleting Session Variables

2000-11-19 Thread Rob Keniger
on 11/20/00 5:13 PM, Scott Wolf at [EMAIL PROTECTED] wrote: > Will arraydelete kill all of the session vars for just that one session? > I'm trying to write a logoff page that completely ends a session, and > I just want to make sure that I can scrap all the vars without affecting > any other use

RE: Deleting Session Variables

2000-11-19 Thread Bill Killillay
Scott, Here is the method that I use. Hope it helps some. > How can > I remove a session variable completely? I know I > can change > the value using CFSET (i.e. Session.LoggedIn = "1">) > but I don't know how to remove it altogether. ~~~

RE: Deleting Session Variables

2000-11-19 Thread Scott Wolf
m: Scott M. Berry [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 2:13 AM To: CF-Talk Subject: Re: Deleting Session Variables Session variables are stored in an array. You can kill the array (arraydelete()) but that will kill all the vars and Allaire does not recommend that. You can p

Re: Deleting Session Variables

2000-11-19 Thread Scott M. Berry
Session variables are stored in an array. You can kill the array (arraydelete()) but that will kill all the vars and Allaire does not recommend that. You can probably do some nifty functions by converting the array to a list, and finding out the position of the var you want to delete and then doin