SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Aug 29, 2007, 09:27 #1
- Join Date
- Aug 2007
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how do I reference coldfusion variables/cookies
Hi all
I create a cookie in one of the page (main.cfm) with a button to open up a popup dialog(form) window.
The cookie is created w/o problem in main.cfm page but I cannot see the variable in the popup or in any other cfm pages (load.cfm).
Thanks
<---Main--->
....
<cfquery name="View" datasource="...">
SELECT *.....WHERE ....
</cfquery>
<cfif (View.RecordCount GT 0)>
<cfcookie name = "somecookiename" value = "#View.tblcolName#" >
<cfelse>
<---Main--->
<---script popup dialog file--->
......
case 'Link':B=new FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/link.cfm?cookieName=????????',400,330);
//need help here..how do I refrence the cookie here if existed?
.....
<---script file-->
<---load.cfm--->
....
<cfoutput>#somecookiename#</cfoutput>
...
Bookmarks