Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you have a constant variable though a section of a site

Status
Not open for further replies.

dunskii

Programmer
Sep 14, 2001
107
0
0
AU
Hi All,

When a user selects a variable on the homepage how do you keep that variable on each page untill the user changes it.

do you use something like <cfset variable='#URL.id#'>

Thanks in advance,
Dunskii

 
<cfset SESSION.variable = '#id#'> is probably the answer you are looking for. A session lasts until a specified, or default, timeout period (of inactivity) expires, or until the user closes the browser. John Hoarty
jhoarty@quickestore.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top