In my cart app, I have to setup a url that the paypal checkout uses to return to my site. I'm testing on my crystaltech server which doesn't use J2EE session variables. If you hit a page without the urltoken, it's a new session, which isn't good in this case. Currently, I'm doin' this:
<cfset thispage= "http://www.wtomlinson.com/newcart/checkout_paypal.cfm?#URLToken#"> I pass that into transferToPaypal(), you do your thing at Paypal's site, it comes back to your site/your original session - no problem. But what if this cart were to be used on a j2ee session variable server? Would I do it like this? <cfif StructkeyExists(SESSION,"jsessionID")> <cfset thispage= "http://www.wtomlinson.com/newcart/checkout_paypal.cfm?jsessionID=#jsessionID#"> <cfelse> <cfset thispage= "http://www.wtomlinson.com/newcart/checkout_paypal.cfm?#URLToken#"> </cfif> Is there a better way to do it? Thanks, Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235604 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

