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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL variables

Status
Not open for further replies.

jl8789

MIS
May 22, 2003
293
US
Is there any way I can pass or use variables on other pages without making them visible in the URL, besides using SESSION variables?

I tried request variables, but these must only get set and passed when the page has to go thru the server again?

The only thing I know that would work would be to set a session variable, but I didn't want to "over-use" these. Is there any harm in using as many of these as you need?

I am working with Cold Fusion.

Thanks!!
 
The only way to pass hidden variables between pages using javascript is through cookies.
As far as I know, you cannot use sessions with javascript anyway.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
An option might be to use FRAMESETS, storing all your variables/values in an "invisible" frame, while using the other frame to go from page to page throughout your site. NOTE that the URL in the address bar, using this method, will not change. This can be frustrating to users.

--Dave
 
Using frames might be a good idea but it would be even better if you used an iFrame as the url in your browser changes.

I don't know if this helped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top