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

Converting post to get with URLTOKEN

Status
Not open for further replies.

ice7899

Programmer
May 14, 2006
59
GB
I am in the process of converting a form which uses the post method to one which uses the get method

The current form reads

<cfform name="qSearch" method="post" action="index.cfm?page=cresults#session.amper##session.URLTOKEN#">

My question is, is there any way of using the "get" method but also preserving the #session.amper##session.URLTOKEN# in the url

Question 2: Are there any advantages to using URLTOKEN as above ?
 
Using the session.urltoken allows you to maintain sessions when cookies are disabled.
The problem with using it is that u only need the url to hijack someone elses session.
However by changing your forms to GET, you will not lose those variables if they are already appended to the end of the url anyway.

Regards
--
Russ Michaels
CFDeveloper.co.uk
ColdFusion Developer community and FREE developer hosting

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top