Hi,
I kind of remember having read sometimes somewhere that one could generate a
page with text laid out in multi-column mode in a pdf CFdocument, but I cannot
find any trace of this in the CF docs.
Was I dreaming or what ?
When I put in the found.pos[1]-1 I get You have attempted to dereference a
scalar variable of type class java.lang.Integer as a structure with members
Whatever that is supposed to mean?
Looks like my last reply was truncated. (Out of curiosity, I am
resending a cfscript version to see
It's been awhile since I used session variables,
but this is simple. Why won't this work?
session-test.cfm
cfset session.name = 'rick'
cfoutput#session.name#/cfoutput
cflocation url=session-test-2.cfm
session-test-2.cfm
--
cfoutput#session.name#/cfoutput
Did you forget to modify reFind so it returns subexpressions (ie a structure
not a number)?
ie found = REFind(url.terms, DocContents, startAt, TRUE );
-Le
~|
Order the Adobe Coldfusion Anthology now!
Have you enabled session management in the application.cfc?
On Mon, Feb 27, 2012 at 3:14 PM, Rick Faircloth r...@whitestonemedia.comwrote:
It's been awhile since I used session variables,
but this is simple. Why won't this work?
session-test.cfm
cfset session.name =
ie found = REFind(url.terms, DocContents, startAt, TRUE );
-Le
lol.. Even my name is being truncated ;
~|
Order the Adobe Coldfusion Anthology now!
There's no application.cfc at this point...the only
two pages involved are what's in this email.
Is enabling session management in an application.cfc
necessary for session management to work?
As you can see below when I use:
cfset session.name = 'rick'
and then output that with:
That did get rid of the error but now it isn't inserting anything. It appears
to be ignoring the statement altogether.
~|
Order the Adobe Coldfusion Anthology now!
yes you must have an application.cfm/cfc in order to enable session
variables.
On Mon, Feb 27, 2012 at 8:28 PM, Rick Faircloth r...@whitestonemedia.comwrote:
There's no application.cfc at this point...the only
two pages involved are what's in this email.
Is enabling session management in
Well, after quickly throwing together an application.cfc,
I can see that it is necessary. It attached the CFID
and CFTOKEN to the URL.
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Monday, February 27, 2012 3:29 PM
To: cf-talk
Subject: RE: Session
You will need an application.cfc (or .cfm) for session variables to work.
In your example, your cfset session.name = 'rick' was actually stored in
the variables scope on that page as variables.session.rick, and not
actually in the session scope. That is why it was not available on the
other
Correction on my previous post:
The variable was stored in variables.session.name (not
variables.session.rick)... but you probably knew what I meant.. ;-)
On Mon, Feb 27, 2012 at 3:39 PM, Steve Milburn scmilb...@gmail.com wrote:
You will need an application.cfc (or .cfm) for session
It sounds like something else is missing. Can you post your current code?
-Leigh
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Thanks for the reminder!
Rick
-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com]
Sent: Monday, February 27, 2012 3:42 PM
To: cf-talk
Subject: Re: Session variables not working
Correction on my previous post:
The variable was stored in variables.session.name (not
In your cflocation tag include addtoken=no attribute to prevent
CFID/CFTOKEN vars from being appended to the url.
I'll also suggest you set your server to use J2EE sessions in CF
Administrator, if you have not done so already.
Azadi
On Tue, Feb 28, 2012 at 04:36, Rick Faircloth
Actually, a cfapplication tag will work fine outside of Application.cfm so
technically this isn't true. Of course it makes sense to use
Application.cfm or Application.cfc.
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/
On 28 February 2012 04:36, Russ Michaels r...@michaels.me.uk
Hi,
I'm creating a pdf document which contains color and greysacle jpg image.
About half of the greyscale images are much whiter than the original.
I've read about some problem with image scaling, but not about this one.
Any idea ?
Hi Rick,
When you are using session variables and you want to get its value in
other page after using cflocation then you need to enable seclientcookies true
in cfapplication tag. More description you can read on
I think you can use 2 cloumn layout html template Using Dreamweaver and then
save it into some variable using cfsavecontent and then pass it to the
cfdocument.
~|
Order the Adobe Coldfusion Anthology now!
19 matches
Mail list logo