[allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <1126651356.743679.81920@g44g2000cwa.googlegroups.com> [ref] => [htmlstate] => on_nl2br [postusername] => allen@oysterweb.com [ip] => allen@oysterweb [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> help passing url variables... - Macromedia ColdFusion

help passing url variables... - Macromedia ColdFusion

CAN SOMEONE TELL ME HOW TO PASS URL VARIABLES THROUGH MULTIPLE PAGES? I PASS IT THROUGH ONE THEN IF I PASS IT AGAIN IT TELLS ME IT IS UNDEFINED.......

  1. #1

    Default help passing url variables...

    CAN SOMEONE TELL ME HOW TO PASS URL VARIABLES THROUGH MULTIPLE PAGES? I PASS IT THROUGH ONE THEN IF I PASS IT AGAIN IT TELLS ME IT IS UNDEFINED....
    matt57017 Guest

  2. #2

    Default Re: help passing url variables...

    change them to session variables. then you don't have to pass anything through.
    Dan Guest

  3. #3

    Default Re: help passing url variables...

    HOW DO YOU MAKE THEM SESSION VARIABLES?
    matt57017 Guest

  4. #4

    Default Re: help passing url variables...

    If I understand correctly you want to take a query string and convert
    the string and values to session variables. If so, this should do it.
    Might be an easier way, but this works.

    <!--- Check for URL Params and Set them --->
    <cfif cgi.query_string IS NOT "">
    <cfset variables.object = "#cgi.query_string#">
    <cfelse>
    <cfset variables.object = "0">
    </cfif>

    <cfif #variables.object# NEQ 0>
    <!--- If A Query String Exists --->
    <cfloop index="x" list="#variables.object#" delimiters="&">
    <cfoutput>
    <cfset Counter = 0>
    <cfloop index="y" list="#X#" delimiters="=">
    <cfif Counter EQ 0>
    <cfset tmpSessionName = "SESSION." & #y#>
    <cfelseif Counter EQ 1>
    <cfset "#tmpSessionName#" = #y#>
    </cfif>
    <cfset Counter = Counter + 1>
    </cfloop>
    </cfoutput>
    </cfloop>
    </cfif>
    <cfoutput>
    <cfdump var="#Session#">
    </cfoutput>

    allen@oysterweb.com Guest

  5. #5

    Default Re: help passing url variables...

    <cfset session.variable = yourvariable>
    then just refernce session.variable.

    Make a n application.cfm page & put inside...
    <cfapplication name="something" sessionmanagement="Yes">
    539E Guest

  6. Moderated Post

    Default Re: help passing url variables...

    Removed by Administrator
    matt57017 Guest
    Moderated Post

  7. #7

    Default Re: help passing url variables...

    This page sort of explains it. http://www.infimum.dk/HTML/multiselect.html

    This book,
    http://proquest.safaribooksonline.com/?xmlId=0-672-32025-8&uiCode=goliat, is a
    how I learned the fundamentals of javascript.

    Dan Guest

Similar Threads

  1. Passing variables
    By realtime158 in forum Macromedia Flex General Discussion
    Replies: 16
    Last Post: July 28th, 04:25 PM
  2. Passing variables to ASP
    By jeskey in forum Macromedia Flash Data Integration
    Replies: 3
    Last Post: April 27th, 06:08 AM
  3. variables, passing again to another.
    By Louie Miranda in forum PHP Development
    Replies: 0
    Last Post: September 25th, 07:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •