Low cost ecommerce web development India flash website design

The ConnectModeEnum constants

Typically, you only need to select one of the first three values. If you only

need to read information from the database (the most common action), use the

adModeRead constant. If you only need to write data, use the adModeWrite

constant. If you need to read and write data within a single page, use the

adModeReadWrite constant. Some people always use the adModeReadWrite

constant, but that slows down data access when you only need to read or

write, but not both.

The last five constants are of less use in a Web application where you may not

know how many people are simultaneously connected. The

adModeShareDenyRead constant prevents other connections from reading the

database. Similarly, the adModeShareDenyWrite constant lets other

connections read from, but not write to the database. The misnamed

adModeShareExclusive constant prevents all other connections from

opening the database. To thoroughly confuse the issue, the

adModeShareDenyNone constant allows all other connections to attach to the

database with any type of permission. The adModeRecursive constant works

in concert with all of the Share-type constants except adModeShareDenyNone

to propagate the setting to sub-records of the current record. For example, you

can use adShareDenyRead + adModeRecursive to deny read permissions to

sub-records.

freelance web designer India web development

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73