Yes, that's it - write to the db, then pass the key.

Thanks for your insight.

Mark

-----Original Message-----
From: Bryan Love [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 16, 2003 5:10 PM
To: CF-Talk
Subject: RE: Passing URL vars between pages


You may want to reconsider the way you are doing things...  It might be
cleaner to write to the DB immediately then pass just the key to the next
page.  

If you must do it the way you are, then you probably would want to just use
a session variable.  There would be no reason to use WDDX unless you have to
store the information in a cookie (that includes client variables).

If you must use the url and cannot write to the db before relocating, then
you must have some very strict checks in place on the page that does write
to the DB to avoid hackers messing with your database.

+-----------------------------------------------+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
        - Thomas Paine, The American Crisis

"Let's Roll"
        - Todd Beamer, Flight 93



-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 1:07 PM
To: CF-Talk
Subject: Passing URL vars between pages


Hi all,

I've got a messy (lengthy)

<cflocation
URL="process.cfm?emailaddress=#URLEncodedFormat(URL.emailadr)#&...> 

which I contemplated passing about 25 URL variables between one page and a
second. On the second page, I would use the URL vars to populate a db.  I
don't need to keep the vars beyond the second page after they've been
written. 

With this amount of vars what's a good way to accomplish:  session, WDDX
packet, etc?  I know how to write a session, but it seems like a lot for
just a one-page pass.  If I do a WDDX Serialization, I don't know how to
write it, and need an example.

Thanks in advance.

Mark




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to