Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
smokin_joe #1
Session Variable Counter
Borrowing off of the Shopping Cart program in Ben Forta's book.... I am using
session variables to in effect create a list of entities that will print to
mailing labels. playing with spacing and such I finally have the first column
of lables printing. There are ten labels for each of 3 columns.
When session basket count reaches 11 records I want to start printing in the
next column.
I was considering using the "Session.Basket" as a counter, so that when the
record count reaches 11 and then 21 I want to alternate where in the program I
will direct the output.
Does anyone have any suggestions as to how to reference that session basket .
When I look at the "Scope Variables", Session Variables dump I see that the
basket is incrementing each time data is written to it.... I see "basket=Query
(2), then 3 , 4 etc.... indicating that there is data being written to the
variable.
Thanks
smokin_joe Guest
-
#39634 [NEW]: session variable and normal variable
From: erhanbaris at gmail dot com Operating system: Win Xp SP1 PHP version: 5.2.0 PHP Bug Type: Variables related Bug... -
help with incremental variable (timer/counter)
hi, I am fairly new to Director and have been stuck with this problem for hours: I have checked the help file thoroughly and can't solve this... -
Datalist - how (if) to use a sub variable or session variable in the footer?
Hi, sorry to be greedy with all my posts lately, but can you tell I'm doing new things this week? I've just done my first datalist (a simple... -
Hit Counter / Session Problem
Hey, I've got a little counter program written to log individual hits to a page without counting the same person twice. The problem is, it's... -
[SESSION] Session variable deleted prior to command?
Hi all, I'm developing a database system on my local computer (OS/version details at bottom) with a simple user authentication using sessions. On... -
smokin_joe #2
Session Variable Counter
Borrowing off of the Shopping Cart program in Ben Forta's book.... I am using
session variables to in effect create a list of entities that will print to
mailing labels. playing with spacing and such I finally have the first column
of lables printing. There are ten labels for each of 3 columns.
When session basket count reaches 11 records I want to start printing in the
next column.
I was considering using the "Session.Basket" as a counter, so that when the
record count reaches 11 and then 21 I want to alternate where in the program I
will direct the output.
Does anyone have any suggestions as to how to reference that session basket .
When I look at the "Scope Variables", Session Variables dump I see that the
basket is incrementing each time data is written to it.... I see "basket=Query
(2), then 3 , 4 etc.... indicating that there is data being written to the
variable.
Thanks
smokin_joe Guest



Reply With Quote

