column page layout

2012-02-27 Thread Claude Schnéegans

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 ?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350106
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Help with REFind and Insert()

2012-02-27 Thread Brian Bradley

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 if the lack of tags makes a 
 difference.)

  cfscript
     startAt = 1;
     for (i = 1; i = ArrayLen(getMatches); i++) {
         found = REFind(url.terms, DocContents, startAt, true);
         // insert *before* the matching string 
         DocContents = Insert( i, DocContents, found.pos[1]-1);
         // shift starting position forward to ensure we find a *new* 
 occurrence 
         startAt = found.pos[1] + found.
len

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350107
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Session variables not working

2012-02-27 Thread Rick Faircloth

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


I get the error 'Element NAME is undefined in SESSION.'

???

Session variables are specified for use in CFADMIN.
Am I missing something REALLY simple or obvious?

Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350108
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Help with REFind and Insert()

2012-02-27 Thread Leigh

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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350109
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Steve Milburn

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 = 'rick'

 cfoutput#session.name#/cfoutput

 cflocation url=session-test-2.cfm


 session-test-2.cfm
 --

 cfoutput#session.name#/cfoutput


 I get the error 'Element NAME is undefined in SESSION.'

 ???

 Session variables are specified for use in CFADMIN.
 Am I missing something REALLY simple or obvious?

 Rick



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350110
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Help with REFind and Insert()

2012-02-27 Thread Leigh

 ie     found = REFind(url.terms, DocContents, startAt, TRUE );
-Le

lol.. Even my name is being truncated ;

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350111
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Session variables not working

2012-02-27 Thread Rick Faircloth

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:

cfoutput#session.name#/cfoutput

I get 'rick'...

But that's on the same page.

Would that work but not session variables between pages
with session management being enabled in application.cfc?

Rick

-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com] 
Sent: Monday, February 27, 2012 3:18 PM
To: cf-talk
Subject: Re: Session variables not working


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 = 'rick'

 cfoutput#session.name#/cfoutput

 cflocation url=session-test-2.cfm


 session-test-2.cfm
 --

 cfoutput#session.name#/cfoutput


 I get the error 'Element NAME is undefined in SESSION.'

 ???

 Session variables are specified for use in CFADMIN.
 Am I missing something REALLY simple or obvious?

 Rick



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350112
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Help with REFind and Insert()

2012-02-27 Thread Brian Bradley

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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Russ Michaels

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 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:

 cfoutput#session.name#/cfoutput

 I get 'rick'...

 But that's on the same page.

 Would that work but not session variables between pages
 with session management being enabled in application.cfc?

 Rick

 -Original Message-
 From: Steve Milburn [mailto:scmilb...@gmail.com]
 Sent: Monday, February 27, 2012 3:18 PM
 To: cf-talk
 Subject: Re: Session variables not working


 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 = 'rick'
 
  cfoutput#session.name#/cfoutput
 
  cflocation url=session-test-2.cfm
 
 
  session-test-2.cfm
  --
 
  cfoutput#session.name#/cfoutput
 
 
  I get the error 'Element NAME is undefined in SESSION.'
 
  ???
 
  Session variables are specified for use in CFADMIN.
  Am I missing something REALLY simple or obvious?
 
  Rick
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350114
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Session variables not working

2012-02-27 Thread Rick Faircloth

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 variables not working


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:

cfoutput#session.name#/cfoutput

I get 'rick'...

But that's on the same page.

Would that work but not session variables between pages
with session management being enabled in application.cfc?

Rick

-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com] 
Sent: Monday, February 27, 2012 3:18 PM
To: cf-talk
Subject: Re: Session variables not working


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 = 'rick'

 cfoutput#session.name#/cfoutput

 cflocation url=session-test-2.cfm


 session-test-2.cfm
 --

 cfoutput#session.name#/cfoutput


 I get the error 'Element NAME is undefined in SESSION.'

 ???

 Session variables are specified for use in CFADMIN.
 Am I missing something REALLY simple or obvious?

 Rick



 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350115
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Steve Milburn

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 page.

On Mon, Feb 27, 2012 at 3: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 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:

 cfoutput#session.name#/cfoutput

 I get 'rick'...

 But that's on the same page.

 Would that work but not session variables between pages
 with session management being enabled in application.cfc?

 Rick

 -Original Message-
 From: Steve Milburn [mailto:scmilb...@gmail.com]
 Sent: Monday, February 27, 2012 3:18 PM
 To: cf-talk
 Subject: Re: Session variables not working


 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 = 'rick'
 
  cfoutput#session.name#/cfoutput
 
  cflocation url=session-test-2.cfm
 
 
  session-test-2.cfm
  --
 
  cfoutput#session.name#/cfoutput
 
 
  I get the error 'Element NAME is undefined in SESSION.'
 
  ???
 
  Session variables are specified for use in CFADMIN.
  Am I missing something REALLY simple or obvious?
 
  Rick
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350116
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Steve Milburn

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 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 page.


 On Mon, Feb 27, 2012 at 3: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 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:

 cfoutput#session.name#/cfoutput

 I get 'rick'...

 But that's on the same page.

 Would that work but not session variables between pages
 with session management being enabled in application.cfc?

 Rick

 -Original Message-
 From: Steve Milburn [mailto:scmilb...@gmail.com]
 Sent: Monday, February 27, 2012 3:18 PM
 To: cf-talk
 Subject: Re: Session variables not working


 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 = 'rick'
 
  cfoutput#session.name#/cfoutput
 
  cflocation url=session-test-2.cfm
 
 
  session-test-2.cfm
  --
 
  cfoutput#session.name#/cfoutput
 
 
  I get the error 'Element NAME is undefined in SESSION.'
 
  ???
 
  Session variables are specified for use in CFADMIN.
  Am I missing something REALLY simple or obvious?
 
  Rick
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Help with REFind and Insert()

2012-02-27 Thread Leigh

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: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350118
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Session variables not working

2012-02-27 Thread Rick Faircloth

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
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 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 page.


 On Mon, Feb 27, 2012 at 3: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 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:

 cfoutput#session.name#/cfoutput

 I get 'rick'...

 But that's on the same page.

 Would that work but not session variables between pages
 with session management being enabled in application.cfc?

 Rick

 -Original Message-
 From: Steve Milburn [mailto:scmilb...@gmail.com]
 Sent: Monday, February 27, 2012 3:18 PM
 To: cf-talk
 Subject: Re: Session variables not working


 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 = 'rick'
 
  cfoutput#session.name#/cfoutput
 
  cflocation url=session-test-2.cfm
 
 
  session-test-2.cfm
  --
 
  cfoutput#session.name#/cfoutput
 
 
  I get the error 'Element NAME is undefined in SESSION.'
 
  ???
 
  Session variables are specified for use in CFADMIN.
  Am I missing something REALLY simple or obvious?
 
  Rick
 
 
 
 



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350119
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Azadi Saryev

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 r...@whitestonemedia.com wrote:

 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 variables not working


 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:

 cfoutput#session.name#/cfoutput

 I get 'rick'...

 But that's on the same page.

 Would that work but not session variables between pages
 with session management being enabled in application.cfc?

 Rick

 -Original Message-
 From: Steve Milburn [mailto:scmilb...@gmail.com]
 Sent: Monday, February 27, 2012 3:18 PM
 To: cf-talk
 Subject: Re: Session variables not working


 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 = 'rick'

 cfoutput#session.name#/cfoutput

 cflocation url=session-test-2.cfm


 session-test-2.cfm
 --

 cfoutput#session.name#/cfoutput


 I get the error 'Element NAME is undefined in SESSION.'

 ???

 Session variables are specified for use in CFADMIN.
 Am I missing something REALLY simple or obvious?

 Rick









 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread James Holmes

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 wrote:


 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.com
 wrote:

 
  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:
 
  cfoutput#session.name#/cfoutput
 
  I get 'rick'...
 
  But that's on the same page.
 
  Would that work but not session variables between pages
  with session management being enabled in application.cfc?
 
  Rick
 
  -Original Message-
  From: Steve Milburn [mailto:scmilb...@gmail.com]
  Sent: Monday, February 27, 2012 3:18 PM
  To: cf-talk
  Subject: Re: Session variables not working
 
 
  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 = 'rick'
  
   cfoutput#session.name#/cfoutput
  
   cflocation url=session-test-2.cfm
  
  
   session-test-2.cfm
   --
  
   cfoutput#session.name#/cfoutput
  
  
   I get the error 'Element NAME is undefined in SESSION.'
  
   ???
  
   Session variables are specified for use in CFADMIN.
   Am I missing something REALLY simple or obvious?
  
   Rick
  
  
  
  
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350121
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Images not rendred properly in a pdf CFDOCUMENT

2012-02-27 Thread Claude Schnéegans

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 ?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350122
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Jay Pandya

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 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b_5.html
read Setclientcokies description.

Thank You
Jay Pandya
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


I get the error 'Element NAME is undefined in SESSION.'

???

Session variables are specified for use in CFADMIN.
Am I missing something REALLY simple or obvious?

Rick 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350123
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: column page layout

2012-02-27 Thread Jay Pandya

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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350124
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm