Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
jppa #1
is this possible - cftransaction
I don't want to get into the whole 'users shouldn't have access to the db'
discussion. It's a battle that's been lost. We are looking at alternatives,
one of which is to find out if it's possible to let a user submit a query thru
CF module and then through the use of CFTRANSACTION allow the user to decide to
commit or rollback. I understand that it's not pretty,, but is it possible?
Our local expert says no, but our mgr wants something resembling proof.
thanks in advance
jppa Guest
-
cftransaction
I have a question about CFTRANSACTION. We are currently using CF6.0 with various versions of Oracle and SQL Server. In our server settings we do... -
Error with cftransaction
I have a method with a cftransaction and inside the cftransaction calls a method that has a cftransaction, before updating to 6.1 I didnt have any... -
using cftransaction with queries
Hi, If cfquery fails, how can cftransaction recognise this? If a query fails I need to roll it back. Thanks -
CFTRANSACTION w/ ROLLBACK
Here's what I'm trying to do, this worked in CF 5, but bombs with the following error in CFMX 6: The <CFCATCH> tag requires an end tag to nest... -
cftransaction question
Hi there ! Let's say i have a first query which inserts a new row in a table, then a second query (myquery) trying to get the id of the inserted row... -
vkunirs #2
Re: is this possible - cftransaction
Hi
do You mean to restrict the users not to submit the form?
once the user submits then in the action form check for the author
authentication...if its ok then go on otherwise just skip.it
Is this what you want to do?
vkunirs Guest
-
jppa #3
Re: is this possible - cftransaction
Actually I mean that they would submit their query in the form, but commit /
rollback would allow them to realize an 'oopsie' and commit rollback.
Ultimately, we're trying to emulate an Oracle client like sql plus or pl/sql
developer
jppa Guest
-
vkunirs #4
Re: is this possible - cftransaction
Hi
Using the cftransaction, either we can commit all the transactions or rollback
all the transactions. we can't do any checking in this for the user
authentication. if you are checking it in the oracle then check for the how
records are inserted . if no records are inserted then rollback it.
vkunirs Guest
-
OldCFer #5
Re: is this possible - cftransaction
You can't do this using cftransaction. The beginning and end cftransaction tags
have to be
in one template, so the transaction completes when it's posted. You can't
simply resubmit
and rollback something that was commited on the previous post.
OldCFer Guest



Reply With Quote

