There are a couple of custom tags in the Exchange that deal with this, if I remember correctly, heck you might even be able to find the one I did 3 years ago.
Basically you would run a _javascript_ timer in the background that would load/reset every page call. The timer would be set to expire
Is Netscape issuing a new cookie on the second page because it thinks
that the domain has changed?
> -Original Message-
> From: c talk [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 4:16 PM
> To: CF-Talk
> Subject: disappearing session variables
>
-Original Message-
> > From: c talk [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 04, 2002 4:16 PM
> > To: CF-Talk
> > Subject: disappearing session variables
> >
>
> >
> > When I browse this site on my laptop/dev server using it's
Sorry, sloppy use of words. I once had a problem with dying session
variables and found that NS was showing a new set of cookies. Apparently
when the reference changes, NS does not see it as being in the same
domain and does not send the cookies it set for the previous page. CF
sees the
om: c talk [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 4:16 PM
To: CF-Talk
Subject: disappearing session variables
Hi all
I'm using IE 5 and Nestcape 4.72 to develop a site for a client. I
sometimes
experience this error:
"Error resolving parameter SESSION.PRODUCT_LINE
hi ppl... i remember seeing this somewhere..
abt setting a "" around the time span or wat..
but i tried both ways.. with and without the "" quotes.. still cant
work..
is there any setting to be done at SERVER administration side..??
cheers
han
__
Everyone - please note the new thread name (we long ago left UDFs).
Dave,
you wrote:
>However, it's been my experience that, in most cases, this doesn't work
very
>well in the real world. Copying the entire scope into a local variable is
>very expensive, and causes problems under load. We actual
I was wondering if there is anyone who has implemented a chat application using
session variables. where messages are stored in session variable as opposed to a
database
thank you
__
Get the mailserver that powers this list
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 sess
hough 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 reaso
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
in your code for them to do so. If you have a
vulnerable piece of code that can give unexpected and undesired results
because of malicious inputs form the client, then you have a problem.
But it is not an insecurity in the session variables is is an insecurity
in your application and how it is set
gt;
>But it is not an insecurity in the session variables is is an insecurity
>in your application and how it is setting those variables. There is no
>way for a user to send random code at a CF server and have it do
>anything to session variables unless it is happening so
Hi Folks
I have several large forms connected to mySql tables.
I use
]', checkVariables)>
""
in one of the fields">
">
">
~
:robvo...@voyle.com]
> Sent: Wednesday, 26 January 2011 11:53 AM
> To: cf-talk
> Subject: Re: Session variables security
>
>
> Hi Folks
>
> I have several large forms connected to mySql tables.
> I use has been validated for content that I need (no blank fields etc.)
>
cott.id.au/
> -Original Message-
> From: Rob Voyle [mailto:robvo...@voyle.com]
> Sent: Wednesday, 26 January 2011 5:09 PM
> To: Andrew Scott; cf-talk@houseoffusion.com
> Subject: Re: Session variables security
>
> Hi Andrew
>
> have you used this firewall or
CF8
My home page populates a session variable. I did a dump to make sure this was
happening.
Mozilla (Firefox) - newest download
On one machine I go to another page off my menu and it displays correctly.
I go to another machine and I get an error - no session variable defined. The
entire SES
It's been awhile since I used session variables,
but this is simple. Why won't this work?
session-test.cfm
#session.name#
session-test-2.cfm
--
#session.name#
I get the error 'Element NAME is undefined in SESSION.'
???
Session var
Yesterday I posted a question about session variables and why they weren't
working the way I would expect.
Last night I went home and recreated my code on my home machine. It worked
like a charm.
So I shipped that same code to my work machine to test here. The same exact
code fail
> Do Sesion Variables and CFLocaion mix? (COOKIES and
> CFLocation don't, I know). Is this the same type of
> thing because it doesn't seem to work.
If you're not letting CF use cookies to associate a user with their session,
or if those cookies haven't been written yet, you'll need to use the
As long as you CFLOCATION to a location that has the same application name
as specified in the CFAPPLICATION tag (generally in application.cfm), you
should have no problems with session variables. If you CFLOCATION to an
area that either has no application.cfm, and is not in the same tree as the
Yes they do mix. Set the session variables before your first CFLOCATION
TIA
DDINC
-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 9:55 AM
To: CF-Talk
Subject: CFLOCATION & Session Variables
Do Sesion Variables and CFLocaion mix? (COO
well i know sessions create cookies so maybe its the same deal...
> -Original Message-
> From: Dave Hannum [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 18, 2000 12:55 PM
> To: CF-Talk
> Subject: CFLOCATION & Session Variables
>
> Do Sesion Variables and
I have been getting a small but steady flow of
complaints from users that, when looked into,
are being caused by CF session variable values
being lost mid-session. This only happens to
AOL and WebTV users, but not all of the time.
For example, they log in and I store their member
ID in a sessio
are you setting these session variables in cfapplication? Test for their
existence first. Also, check your session timeout settings. I'd start with
these two things
~Simon
-Original Message-
From: Bill Walthall [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 9:46 AM
T
> Has anyone experienced anything like this before? What am I doing wrong?
> How can I fix it?
The fact that you just upgraded to CF 4.5 may be throwing you off the trail
of a totally different reason which may not have anything to do with the
upgrade. Make sure you've double checked that cookie
.
HTH,
---Mike
-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 10:15 AM
To: CF-Talk
Subject: RE: session variables disappearing
> Has anyone experienced anything like this before? What am I doing wrong?
> How can I fix it?
T
FTOKEN and CFID each
time you make a page request - which means that the Session variables that
you set for the client (referenced by the CFTOKEN and CFID) now appear to be
gone because the CFTOKEN and CFID are different. Just a guess. Have you
tried outputting the CFTOKEN and CFID at th
All my Session Variables are dropping dead!!! I posted to messages and no
one has answered. This is across the entire server. No code has changed. I
have Warm REboot Cold Reboot and the same problem.
someone PLEASE throw Ideas at me!
neil
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
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
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.
~~~
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
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"
>
Try this...
This is what I use to kill all session variables. Works perfectly for
logout:
StructClear(Session);
Danny Davis
- Original Message -
From: "Scott Wolf" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 20, 20
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
orks that way. This method is recommended in the
Allaire knowledgebase article on the subject of deleting session variables.
--
Rob Keniger
big bang solutions
<mailto:[EMAIL PROTECTED]>
<http://www.bigbang.net.au>
~~
Structure y
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
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
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
-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
> 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
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.
&
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 vari
Session variables cross application.cfms. I think the only time you may
have a problem is if the CFApplication tag has a different app name. Can
someone clarify this?
At 02:26 PM 12/20/00 -0500, Jamie Keane you wrote:
>Hi all,
>
>I'm working on a project that requires
guess if someone can confirm that my explanation is correct,
I'll be happy :)
That's no big deal, you're pretty much just setting a "permission" for the
site, what you can accept etc...but my real question I guess is what comes
next. I'm not entirely sure WHAT is
Hi,
Just ran across a an article regarding session variables and ASP which takes
a hard line against using them, the main reasons being server slowdown and
hard to read code. I myself have never had a problem with session variables
causing either in CF, and haven't seen this rationale ment
t.
They're retrieved from the repository for every subsequent page request
(except when they're stored in cookies - there's no retrieval required then,
since the browser simply returns them to the server).
As for using Client variables for initialization of values, I'd argu
t.
They're retrieved from the repository for every subsequent page request
(except when they're stored in cookies - there's no retrieval required then,
since the browser simply returns them to the server).
As for using Client variables for initialization of values, I'd argue that
Hi.
I have a page which uses CFHTTP to pull in another page. The page
that I am pulling in has a session variable. My question... Is there
any way that I can keep that session variable the same as I surf
through the pages?
--
Don Kiggins
WebGlo Design
~~~
Hi.
I have a page which uses CFHTTP to pull in another page. The page
that I am pulling in has a session variable. My question... Is there
any way that I can keep that session variable the same as I surf
through the pages?
--
Don Kiggins
WebGlo Design
~~~
I have a site with 2 sections. The members only directory uses the
application scope with session variables and the general public directories
are all html files without any application.cfm.
If a user goes from the member site to the public site and is active in the
public site does that
put locks around all your session var read/writes.
also is you URL changing domains or from IP to name-based? i don't know if
this makes a difference but it might.
Robyn Follen <[EMAIL PROTECTED]> wrote:
Hey Folks,
Does anyone know if there is a limit to the number of session var
Variables!
Hey Folks,
Does anyone know if there is a limit to the number of session variables that
one application can have? We have a case here where our application drops
session variables from time to time without explanation. If it helps, we
have this piece of code in the application.cfm
Hallo everyone,
I don't understand about difference of using cookies,
application, session,
client variable. Can you give some example(simple
source code) that explain
me about these difference.
Thank you for your help.
~~
Structure your ColdFusio
> Please explain to me what occurs when you use session
> variables. The default is for a cookie to me created which
> stores the cftoken and cfid, correct?
>
> What happens when the "cookie" is stored in the registry?
> Where can I look up what is stored in
when testing my application session variables work under IE, but not Netscape. I have
tried different versions of Netscape and none of them work. In all my browsers
cookies are enabled.
What could be the problem?
-eric
~~
Structure your
I know I've seen this, but after two hours of searching, I'm giving up :-)
I want to do a "who's on" listing, and display all of the instances of
session.username that currently exist.
Isn't there a way to get all of the session variables, not on a per user
basis,
It's also possible that your CF server is being restarted occasionally.
Avi
At 11:16 AM 3/29/00 , you wrote:
>Anyone know why/how session variables can
>magically disappear?
>
>I have a page that sets session variables
>then submits it to the next page for processing.
>
.
>Anyone know why/how session variables can
>magically disappear?
>
>I have a page that sets session variables
>then submits it to the next page for processing.
>
>Now and then, I would get an error stating that
>the variables are undefined.
>
>This error occurs infrequ
We used to have that problem. We had session management turned on in all of
our application.cfm files (all 2 of them), but we were still having
problems. The problems went away when we enabled client management as well
and locked the session variables whenever they were being set.
Todd
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--_=_NextPart_001_01BF99A9.C87482A0
Content-Type: text/plain;
charset="windows-1252"
Or if you set your session variables in the appli
On Wed, 13 Oct 2004 14:34:57 -0500, Nick Baker wrote:
>
> maxrows=1>
>
> On the 3rd page it throws the following error.
>
> "Element SRCHRESULTS is undefined in
> SESSION"
Check to make sure that you're reference the columns in the query
results correctly. I seem to recall that sometimes
Nick Baker wrote:
> A session variable holds through 2 pages then is not recognized on the 3rd
> page. Going back to the other pages and refreshing that page shows the
> session variable to be valid.
>
> Any ideas?
>
> Thanks,
>
> Nick
>
> More specifics
>
> 1. Execute the following query
>
I have systems running storing more than 100k records in the application
scope with no problem at all. I guess there still has to be a tiny itchy
annoying bug waiting for you to be resolved :-) I have never seen
problems like yours before.
Micha Schopman
Software Engineer
Modern Media, Databan
100k in the Application scope. WOW. When it comes to this sort of
thing im always way to reserved. Usually shying awaying from hold any
huge amount of data in a persistance scope.
What type of system you running this on: intranet, internet etc?? You
got many other application on the same server?
The system runs 80 websites on a single instance of an inhouse developed
ColdFusion CMS. In my case the data which is stored has been filtered
before it is stored into the application scope, so don't think I store
10+ columns in the application query struct ;)
Micha Schopman
Software Engineer
Has anyone run into problems with session variable retention or odd site
issues regarding CompuServe? Are they running a Caching type server there??
We are having an issue where some session variables are getting messed up
when someone is using dialup through CompuServe. Anyone with any
ichard White <[EMAIL PROTECTED]> wrote:
> I am having trouble with the session variables. I know there must be a simple
> solution but this is the first time i have used them and not sure what i am
> doing wrong.
>
> I am trying to assign a structure to the session variable
ed";
>
lol, very goodpoint, thank you, i will change that.
yes i have enabled the session variables in the cf admin and the
application.cfc but still not recognising even if i try the following in the
action page:
#session.student.name#
st create the struct in the session?
> >
> >
> > session.student = structNew();
> > session.student.name = "Fred";
> >
>
> lol, very goodpoint, thank you, i will change that.
>
> yes i have enabled the session variables in the cf admin and the
> a
>what do you see if you do a ?
if i do this in the action page it says variable session is undefined.
i have actually changed it as you said in the main page and created the
structure straight in the session variable. I am the session.student.name fine
in the main page but it is not working i
>what do you see if you do a ?
if i do this in the action page it says variable session is undefined.
i have actually changed it as you said in the main page and created the
structure straight in the session variable. I am the session.student.name fine
in the main page but it is not working i
Are session variables enabled from the CF administrator?
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >1) is session management enabled in a tag?
> >2) that's some ugly naming conventions right there. too many
> >variables with the same nam
sounds like sessions aren't enabled.
the 'action' page that errors out...it's within the same directory (or
subdirectory) of the Application.cfc that's enabling the session
management?
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >what do you see if you do a ?
>
> if i do this in the a
>Are session variables enabled from the CF administrator?
>
>Teddy
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>>
thanks, yes they are enabled in the cf admin and in the cfapplication
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Monday, September 25, 2006 3:46 PM
To: CF-Talk
Subject: Re: Session variables problem
>what do you see if you do a ?
if i do this in the act
How are you calling the second page from the main page? cflocation?
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >what do you see if you do a ?
>
> if i do this in the action page it says variable session is undefined.
>
> i have actually changed it as you said in the main pag
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>
well in the root folder there is a default folder called _mmServerScripts, this
is where the application
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
oh i see, i have just put the tag at the top of
This sounds like the culprit. In order to use a certain session with a
certain application name, the application.cfm or application.cfc needs to be
ina parent folder or in the same folder. Example
Assume foo.cfm is calling a session variable.
\application.cfc
\folder1\foo.cfm
This would work.
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory
> (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
>
> oh i see, i have just put
tag is typically stored in the application.cfm file. Though
if you are using CF MX, application.cfc is recommended more as it provides
more features, organization and better event based code use.
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >sounds like sessions aren't enabled
In an application.cfm or application.cfc file so that it is automatically
included at the top of every page in the same directory and its sub-directories.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
|
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROT
Well, you don't really use the cfapplication tag in application.cfc. You
use the "this" scope before the first cffunction to set the application wide
values.
There is a good quick reference from Ray Camden on application.cfc that can
help you choose to stay with application.cfm or use the applica
(honestly, i'm new to Application.cfc, so i'm not sure if the including is a
generally accepted good practice...might be better to just move the
Application.cfc up one level so both directories can access it)
Actually with Application.cfc, extending the CFC is usually a better way, then
trying
i see thanks for all your help :)
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthori
thanks for everyones help, its made it very understandable!
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year
On 9/25/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> (honestly, i'm new to Application.cfc, so i'm not sure if the including is a
> generally accepted good practice...might be better to just move the
> Application.cfc up one level so both directories can access it)
>
> Actually with Application.c
i have taken the application.cfc out of the default folder and put it into the
parent directory but now all of my pages are coming up blank. unless it is in
the _mmServerScripts folder nothing works.
is there a reason for this
Clear your browser's cookies and restart the browser (with J2EE
sessions turned on at the server).
Also, is the CF server patched to current levels?
On 9/26/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, i have been trying to use session variables in my app. I have enabled
thanks james, i cleared my cookies, enabled j2ee session variables in the cf
admin, restarted the browser and it is now working fine.
thanks again :) i have been on that problem for ages. out of interest why would
it have stored a cookie that makes it say that the session is invalid. i never
A client of mine who uses AOL is having problems logging into the CMS which
I built for her. I believe I've narrowed it down to a session variable
thing. The website either doesn't see the var or it thinks that the var is
false when it should be true.
Here's the line from my app.cfm file:
Here'
quickest, easiest, down-and-dirty would be
On 2/8/06, Ken <[EMAIL PROTECTED]> wrote:
> Hi. I want to kill the session, without having to do ""> for each session variable.
>
> My application checks for the existence of a session variable, so I don't
> want session.xyz to exist at all, even with n
StructDelete(SESSION, xyz)
Ade
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: 08 February 2006 14:43
To: CF-Talk
Subject: Purging Session Variables
Hi. I want to kill the session, without having to do for each session variable.
My application checks for the existence of
StructDelete() ?
Ken wrote:
> Hi. I want to kill the session, without having to do ""> for each session variable.
>
> My application checks for the existence of a session variable, so I don't
> want session.xyz to exist at all, even with no value.
>
> Any ideas please.
>
> Thanks,
> Ken
>
>
On 2/8/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> quickest, easiest, down-and-dirty would be
>
The one issue with that solution is that you would also be blowing
away the keys that actually track your session, SESSIONID and
URLTOKEN. Maybe it doesn't matter in this case, but it's also
somet
gt; Subject: Re: Purging Session Variables
>
> On 2/8/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> > quickest, easiest, down-and-dirty would be />
> >
>
> The one issue with that solution is that you would also be blowing
> away the keys that actually track your
On 2/8/06, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> On 2/8/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> > quickest, easiest, down-and-dirty would be
> >
>
> The one issue with that solution is that you would also be blowing
> away the keys that actually track your session, SESSIONID and
> U
301 - 400 of 1223 matches
Mail list logo