> Hi all,

> i have a table containing a ntext data type column
> (Variable-length Unicode data with a maximum length of
> 2^30 - 1 (1,073,741,823) characters).

> I successfully passed the value of the variable to the
> next page.

> <a href="page2.cfm?=#columnName#">Click Here</a>

> My question: Is this is the only way to pass the value or
> any other method is there? (Is it okay to pass huge amount
> of data thru this method?)
> Thanks
> -Raj

No the standard for HTTP only allows a url string to have a few
thousand characters if I remember correctly, so this method will not
allow a person to use the extent of the nText column. If you want to
pass the information to the next page, you should use a form instead
(and don't forget to use htmlencodedformat() around the variable so
that the user can put quotes in the database). Although I would
recommend neither of these methods -- instead I would recommend
passing a unique identifier for the database record on the url, i.e.
<a href="page2.cfm?recordID=#myquery.recordID#">Click Here</a> and
then using that unique identifier to retreive the information from the
database on the second page.


s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196468
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to