Log chain theory question

Hello!
As per BOL:
http://msdn.microsoft.com/en-us/library/ms186299(v=sql.105).aspx
begins_log_chain bit 1 - This is the first in a continuous chain of log backups.
A log chain begins with the first
log backup taken after the database is created or when it is switched from the simple to the full or bulk-logged recovery model.
As per http://msdn.microsoft.com/en-us/library/ms190440%28v=sql.105%29.aspx
The Log Chain
A continuous sequence of log backups is called a log chain.
A log chain starts with a full backup of the database. Usually, a new log chain is only started when the database
is backed up for the first time or after the recovery model is switched from simple recovery to full or bulk-logged recovery.
So what really starts a log chain - a DB or a LOG
backup???
Thank you in advance,
Michael

Michael,
     The confusion falls in the fact that once a database has been changed from Simple to full or bulk logged recovery model then the transaction log will continue to truncate itself upon a checkpoint.  The reason is that SQL is
smart enough to know that a database backup has not yet been taken so there is no possibility to recover the database to a point in time.  This is sometimes referred to as pseudo simple recovery.  After a database backup is taken then the transaction
log will only be truncated after a transaction log backup.
Hope this helps
David Dye My Blog

Similar Messages

  • Backup Log with RETAINDAYS allows log chain breaking?

    I am using PROCMON to investigate a potential bug in RETAINDAYS behaviour for log backups in SQL Server 2014.
    The final CreateFile has a disposition of OverwriteIf (when the original file does not yet exist).
    I believe this maps to CREATE_ALWAYS in CreateFile, and would lead to a race condition if simultaneous attempts were made to perform a log backup.
    Has anyone else experienced this (log chain breaks)? I had about 6 in a period of 5 minutes when the clients performing the log backups were under heavy CPU load from other tasks.

    That sounds bad. If you have not done so already, I would recommend that you open a case with Microsoft. I think it will difficult to resolve this issue in this forum.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Log file sync question

    Metalink note 34592.1 has been mentioned several times in this forum as well as elsewhere, notably here
    http://christianbilien.wordpress.com/2008/02/12/the-%E2%80%9Clog-file-sync%E2%80%9D-wait-event-is-not-always-spent-waiting-for-an-io/
    The question I have relates to the stated breakdown of 'log file sync' wait event:
    1. Wakeup LGWR if idle
    2. LGWR gathers the redo to be written and issue the I/O
    3. Time for the log write I/O to complete
    4. LGWR I/O post processing
    5. LGWR posting the foreground/user session that the write has completed
    6. Foreground/user session wakeup
    Since the note says that the system 'read write' statistic includes steps 2 and 3, the suggestion is that the difference between it and 'log file sync' is due to CPU related work on steps 1, 4, 5 and 6 (or on waiting on the CPU run queue).
    Christian's article, quoted above, theorises about 'CPU storms' and the Metalink note also suggests that steps 5 and 6 could be costly.
    However, my understanding of how LGWR works is that if it is already in the process of writing out one set of blocks (let us say associated with a commit of transaction 'X' amongst others) at the time a another transaction (call it transaction 'Y') commits, then LGWR will not commence the write of the commit for transaction 'Y' until the I/Os associated with the commit of transaction 'X' complete.
    So, if I have an average 'redo write' time of, say, 12ms and a 'log file sync' time of, say 34ms (yes, of course these are real numbers :-)) then I would have thought that this 22ms delay was due at least partly to LGWR 'falling behind' in it's work.
    Nonetheless, it seems to me that this extra delay could only be a maximum of 12ms so this still leaves 10ms (34 - 12 -12) that can only be accounted for by CPU usage.
    Clearly, my analsys contains a lot of conjecture, hence this note.
    Can anybody point me in the direction of some facts?

    Tony Hasler wrote:
    Metalink note 34592.1 has been mentioned several times in this forum as well as elsewhere, notably here
    http://christianbilien.wordpress.com/2008/02/12/the-%E2%80%9Clog-file-sync%E2%80%9D-wait-event-is-not-always-spent-waiting-for-an-io/
    The question I have relates to the stated breakdown of 'log file sync' wait event:
    1. Wakeup LGWR if idle
    2. LGWR gathers the redo to be written and issue the I/O
    3. Time for the log write I/O to complete
    4. LGWR I/O post processing
    5. LGWR posting the foreground/user session that the write has completed
    6. Foreground/user session wakeup
    Since the note says that the system 'read write' statistic includes steps 2 and 3, the suggestion is that the difference between it and 'log file sync' is due to CPU related work on steps 1, 4, 5 and 6 (or on waiting on the CPU run queue).
    Christian's article, quoted above, theorises about 'CPU storms' and the Metalink note also suggests that steps 5 and 6 could be costly.
    However, my understanding of how LGWR works is that if it is already in the process of writing out one set of blocks (let us say associated with a commit of transaction 'X' amongst others) at the time a another transaction (call it transaction 'Y') commits, then LGWR will not commence the write of the commit for transaction 'Y' until the I/Os associated with the commit of transaction 'X' complete.
    So, if I have an average 'redo write' time of, say, 12ms and a 'log file sync' time of, say 34ms (yes, of course these are real numbers :-)) then I would have thought that this 22ms delay was due at least partly to LGWR 'falling behind' in it's work.
    Nonetheless, it seems to me that this extra delay could only be a maximum of 12ms so this still leaves 10ms (34 - 12 -12) that can only be accounted for by CPU usage.
    Clearly, my analsys contains a lot of conjecture, hence this note.
    Can anybody point me in the direction of some facts?It depends on what you mean by facts - presumably only the people who wrote the code know what really happens, the rest of us have to guess.
    You're right about point 1 in the MOS note: it should include "or wait for current lgwr write and posts to complete".
    This means, of course, that your session could see its "log file sync" taking twice the "redo write time" because it posted lgwr just after lgwr has started to write - so you have to wait two write and post cycles. Generally the statistical effects will reduce this extreme case.
    You've been pointed to the two best bits of advice on the internet: As Kevin points out, if you have lgwr posting a lot of processes in one go it may stall as they wake up, so the batch of waiting processes has to wait extra time; and as Riyaj points out - there's always dtrace (et al.) if you want to see what's really happening. (Tanel has some similar notes, I think, on LFS).
    If you're stuck with Oracle diagnostics only then:
    redo size / redo synch writes for sessions will tell you the typical "commit size"
    redo size + redo wastage / redo writes for lgwr will tell you the typical redo write size
    If you have a significant number of small processes "commit sizes" per write (more than CPU count, say) then you may be looking at Kevin's storm.
    Watch out for a small number of sessions with large commit sizes running in parallel with a large number of sessions with small commit sizes - this could make all the "small" processes run at the speed of the "large" processes.
    It's always worth looking at the event histogram for the critical wait events to see if their patterns offer any insights.
    Regards
    Jonathan Lewis

  • Perturbing FCP 7 Log and Capture Question

    I tried to digitize some HDV footage this afternoon, in theway I’ve always done it, but now suddenly it doesn’t work.  Details to follow, but first my rig:
    Mac Pro (Nehalem 2009) running Snow Leopard 10.6.8, NOFIREWIRE 400 PORTS
    Final Cut Studio 2 with FCP 7
    Sony Z1U HDV/SD videocamera connecting to Mac Pro via i.linkcable (aka firewire); I am using this to ingest because I can’t afford a deckat the moment.  I know about thewear on the heads, etc., etc.
    OWC Mercury Elite-Al Pro external media drive connected tocomputer via eSATA.
    Here’s the scenario (keeping in mind that I’ve done thiscountless times in the past with no problems):
    I connect the Z1U to the OWC drive with a 4-pin to 6-pinstandard FW 400 cable.  I do thisbecause the Mac Pro does not have any FW 400 inputs but the OWC drivedoes.  So I am in effect“daisy-chaining” and perhaps this is the problem.
    I turn on the camera.
    I start up FCP. It tells me:  “Unable tolocate the following external devices: HDV (1440 x 1080) 60i.”  After hitting “check again” a fewtimes, I hit “continue.”
    I load my new project, into which I want to bring all thiswonderful HDV footage of my friends’ wedding.  And, as I have done so many times, I hit command-8 to bringup the log and capture window.
    To my horror, it says, “Unable to initialize capturedevice.  Device is not connected orthe capture preset is not setup [sic] correctly.”  Etc., etc.
    I have read many posts here and elsewhere on similarproblems, so let me say what I have done:
    I check Easy Setup: It says HDV – 1080i60, which is what it should say.
    My Audio/Video Settings are:
    Sequence Preset: HDV 1080i60
    Capture Preset: HDV
    Device Control Preset: Sony HDV Firewire
    Video Playback: None
    Audio Playback: Default
    So now I go to my camera.  It is set to output HDV.  Component says 1080i/480i.  i.LINK Convert is off. Down Convert says Squeeze, but I assume that’s meaningless since thei.LINK Convert is set to off. A/V>DV Out is set to off.
    None of this makes a lick of difference, as far as I cantell.
    I shut off the camera and disconnect the cable, thenreconnect the cable and turn it back on. No help.
    I trash my FCP preferences, start FCP again, redo myprefs.  Nothing.
    I hit the reset button on the Z1U.  Nada.
    I do all this and then reboot the computer.  Bupkis.
    The footage was definitely shot in HDV.  I can play it fine on the camerascreen.
    I check the cable, which is brand new; it is firmly in placeon both ends.
    Okay, so now I turned off the camera, quit FCP, ejected theOWC drive and turned it off.  Iunplugged the eSATA cable.  I wentand got my MacBook Pro and connected it to the OWC drive with a FW 800 cable.  The camera was still connected to theOWC media drive via the i.LINK cable. I turned on the drive; I turned on the MacBook Pro; I turned on theZ1U.  I started up FCP, and here’swhat happened:
    It worked perfectly. No problem recognizing the camera, noproblem controlling it from the L&C window.
    You might say that this solves my problem.  But I prefer to edit on my desktopcomputer, and I am irritated that I can’t figure out what’s wrong.  My suspicions are that it must havesomething to do with the cabling. FCP is working just fine with the Z1U routed through my media drive, theOWC.  The only differences are thatmy drive is not connected to the computer via eSATA but FW 800.  I see no differences in the settings.
    Any insights?
    Thanks,
    Giraut

    From what you say, I would suggest that the OWC enclosure does not utilize/energize the firewire interface when it is using the eSata.
    This is just a guess.
    Connect the Drive/Camera to your desktop via the FW800 cable: Mac Pro > FW800 Cable > OWC enclosure >FW 6Pin to 4 Pin Cable > HDV Camera. The speed difference between eSata and FW should be minimal as in each case you are limited by the FW400 connection at the camera.
    MtD

  • Log and transfer question

    OK I was wondering if when I import AVCHD from my hard drive if the original files would be damaged at or removed at all. I just had a slight issue, and was wondering if that would be a problem. Any advice is appreciated. Thanks!

    my apologies. I have a 750 gb. usb harddrive that I use for storage, and a Sony Handycam hdr-cx7. I thought that maybe I could drag all of the contents from my memory stick into a folder and import them as needed using log and transfer. What made me ask the question was basically what is the transfer part. I'm sorry if I'm wasting your time. Anyway, I did that with some test AVCHD video and it came out OK, but tonight when I went to import it again, because I didn't save my work (I was just messing around) it gave me a message that says, ""08:5:29" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media." This may be my procedure problem, but it is nice to have the storage option. Thanks again.
    Message was edited by: movie_man

  • Microsoft Office Update Log -- Really quick question!

    Hey,
    I have an log file entitled, "MAU 1.1.2 Update Log" in my root hard drive folder.
    Probably a dumb question, but can I delete that log safely, it just looks stupid sitting there not serving really any purpose right? Like it's only 16 KB but still, I just wanna get rid of it.
    Should I be alright to delete it? It's just a log file.

    Yup!
    The number leeds me to believe its from an old update. If you haven't done so you should download and install the 11.3.4 Office 2004 patch.
    Get it from here:
    Click Here

  • Process Chain Review Question: function module/ABAP program/Event

    Hi,
    1. Can you tell me a bit more about function modules such as RSPC_CHAIN_ACTIVATE_REMOTE
    2. What are function modules in general terms. i.e.  What is their role?
    3. How do I see all function module available?
    4. When is function module used instead of ABAP program?
    5. How do they help in the support and monitoring of Process Chains?
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    Thanks

    2. What are function modules in general terms. i.e. What is their role?
    Function module return a value ( most of the time), they return some value either a single value of rane of value or even a table. Example: FM to return fiscal period gieven the fiscal vaeiant and system date.
    3. How do I see all function module available?
    Go to Se37 and this is function builder. You will find FM starting with RS* more useful. You cna also create your own in Se37.
    4. When is function module used instead of ABAP program?
    In addtion to answer I gave in 3 above, program is used to check some logic and update some tables or give screen output.
    You may note FM is also a program.
    5. How do they help in the support and monitoring of Process Chains?
    As I said, for monitoring chains, use Sm37  and logs in RSPC.
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    I am not clear what are you looking for.
    You cna schedule a FM or a program to run in a chain. Is that what you mean?
    Ravi Thothadri

  • PSA Deletion Process in Process Chains Transport Question

    BI Guru's
    I am working on investigating a method of deleting PSA Requests this will be a stand alone process so no loads will be done in this process chain.  My question I cannot use the Object Type of InfoPackage  or DTP since these objects wont be in the Process Chain leaving me PSA Table option but since I will be developing this in Dev and transporting through environment into prod how will this be handled since PSA tables change from system to system?  Does the system automatically translate it for me or will the value stay the same?

    Hi Alex,
    System will automatically identifies the table in quality and then in Production system. You do not have to worry. I had same question and I tested it with transporting the Process chain from developement to quality. In quality system automatically identified the table corresponding to data target/Master data.
    Regards,
    Kams

  • Logging step results question

    I'm using the sequential process model which includes database logging. I've modified the database schema and I am using my own insert statement. I'm trying to use the step results logging feature. I have 2 questions\issues I need help on:
    First Issue:
    I've created an insert statement and specified it to apply to a step result. When I look at my database results table, it appears that I get an extra entry in addition to my step results. I've disabled logging on all steps in my mainsequence except for 1 step so I know I should only see 1 database entry, however I see 2 entries. Even if I disable logging on all steps, I still get a single database entry when in fact I should see nothing. This is strange.
    Second Issue:
    In the above sql statement I retrieve my step results for each field this way:
    Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].CurrentFilepath
    Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageFilepath
    Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageMode
    Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageValue
    Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].ResistorValue
    However, this is not flexible because if I change the location of the step, then the index will change. Also, if I need to loop on this step it will have the same problem. Is there a way to get this data in a more generic way?
    Michael Aivaliotis
    VI Shots LLC

    Well, I solved my other issue as well.
    I ended up using:
    Logging.StepResult.VariableName
    This seems to do it!
    Michael Aivaliotis
    VI Shots LLC

  • Call Log Problems and Questions

    I've owned this phone since late June, 2011 and overall like it.  I came from a BB with "real" keys, but have been pleased with eth learning curve for the swype keyboard (except it's insistence on some nonsense words).
    The real issue I'm facing: The Call Log
    First off, it's painfully slow when compared to my old BB.  If I want to call a recent contact I click over to the log, but have to first WAIT for the phone app to start, and then WAIT for the log to come up, then painfully WAIT to scroll, and then WAIT for that call to load the WAIT to FINALLY get a "Call" button.  Why in the world is this fairly "native" app so frikkin slow.  This is, after all, a phone.
    Second: Why is the call log not threaded?  I haven’t had an unthreaded call log in about 10 years.  My wife calls a lot, but I should have 15 line items of her before the next distinct caller.  When will this be fixed?  Seems a major flaw
    Third, why can't I choose which phone screen comes up first when i click "Phone" from the immovable home screen buttons?  How often are users dialing numbers that are A-not in their call log or B-not a contact?  Speaking of Contacts:
    Fourth: Why is the contact search SO slow?  I typed my last name in (so it should be finding only my family - maybe 10 contacts) and it took 8 seconds.  Again, comparing to the BB, which had a list ready (from the exact same list of contacts) with every keystroke.
    So, four problems.  May I please have four answers?
    Now one for which I can foresee the answer:
    How can I get rid of all the bloatware on the phone?  I don’t want:
    AllShare
    Amazon Kindle
    V Apps
    Backup asst.
    Bitbop
    Blockbuster
    Guided Tour
    IM
    Latitude
    Lets Golf
    Media Hub
    Rhapsody
    Navigation
    Places
    Rock Band
    Slacker
    Tune Wiki
    VCast
    VZ Navigator
    Nice job filling my new $300 phone with $0.02 crap

    I cannot answer your questions with what I consider an effective answer.  With that said are you aware that you can create groups in your contact list.  The is easiest done on the computer from the Google Voice app.  I have a group for my family, wife's family, coworkers, friends, doctors, restaurants, etc.  It is much easier to find someone in a small group.  I also have direct dial shortcuts on one of my home screens.  I have one home screen dedicated to direct dial shortcuts.  For those that I call all the time like my wife and home you touch the icon and it dials immediately.  To do this long tap an open space on a home screen, click on shortcut, click on direct dial or direct message for quick texting.  You can also have a direct shortcut to the actual contact if you frequently need to access the contact information.
    I hope this at least helps you enjoy the phone a little better if you were not aware of these features.  And yes, I wish the bloatware would go away.
    BTW the 4 buttons at the bottom (not the hard buttons) are movable.  You have to long press them to change them out. 

  • 1.4 Logging (shutdown hook question really)

    If I have a handler configured and log a record inside a thread running as a shutdown hook, more times than not I get nothing in the log file (or console, or wherever) and have to resort to System.err.println().
    Now, from studying the code for LogManager this turns out to be the result of the inner Cleaner thread (which is the log managers shutdown hook) calling reset() on the manager.
    So, this question morphs itself into how to get my shutdown hook to run before the one that resets the log manager.
    Any ideas or adjsting the priority (order of execution) of shutdown hooks?

    Guys (silkm, trejkaz and the good doctor),
    That's for the input. Appreciate it.
    On shutdown hooks being bad design - interesting. In the case I'm thinking of, the entry point class for a distributed task manager (see http://forum.java.sun.com/thread.jsp?forum=4&thread=335843&tstart=0&trange=30) is "embedded" in consumer code and does indead have a clean shutdown method that we hope the consumer code will invoke before shutting itself down. But in the same was as the logging subsystem can not rely on it's consumer code to "do the right thing", we can't rely on our consumer code to behave itself. In addition, we do want to catch the case where an operator re-starts the consumer system (internal procedure demands unix processes are sent an interrupt rather than a kill). The code invoked by the clean shutdown and the caught shutdown persists (as XML) the state of the task manager which is read on re-start to perform recovery operations. Now, before you all dive in and say "save the state every time it changes" let me say that the state changes very rapidly and the I/O overhead of saving it is considerable. Also, having a background thread that persists state on a regular basis was considered, but it introduces the problem that it becomes different to gaurantee the validity of the persisted state.
    On setting the thread priority - that had occured to me and I shall be using this as one of my test cases to see what happens. As mentioned, the effects this has will vary by platform and VM. However, as the component in question will be running in a controlled environment we should be able to pick a configuration that works.
    On Linux threads and processes - Good point. But do unstarted threads have a process? This is significant to us as the target platforms for the task manager are Solaris and Linux.
    On java.lang.Runtime's implementation of shutdown hooks - I tend to agree that it's a bit simplistic. Maybe we should raise a change request to allow greater control over how hooks are executed.
    Thanks again and please chip in if you have any other ideas.

  • BI Publisher Desktop - Log On menu question

    Hi,
    When I press Log On button is asking me about username, password and Report Server. Does anybody knows what address should I put in Report Server,?
    I'm using BI Publisher Desktop 5.6.3 and Oracle Apps.....I'm not using XMLP Enterprise.
    Regards,
    Marius

    The report server expects the Url of the server - http://servernam:port/xmlpserver. The user/password you can try as Administrator/Administrator.
    By Oracle Apps do you mean EBS ? If so, BI Publisher Desktop does not integrate with EBS. You will have to work offline, ie, take a sample xml data and load the XML data from BI Publisher Desktop (Menu--> Oracle BI Publisher --> Data --> Load Sample XML data). Once the RTF template is ready, we need to upload the template using
    It should work with BI Publisher hosted on Oracle AS 10.1.3.

  • SF300 Daisy Chain VLAN Question

    OK, this is a complicated setup, and myself and my fellow IT staff have been beating our heads on a wall trying to get this to work, at this point we do not even know if we have this configured right, so any input on this would be most appreciated.
    We are in the process of adding some new buildings to our network via some AirMax wireless bridges.  On the either end of the bridges will be a series of SF300 switches.
    For clarification, here is how our setup will go equipment wise....
    Cisco 3550 Switch -> SF300-08 Switch -> Airmax Bridge ---------- AirMax Bridge -> SF300-08 -> SF300-24
    The 3550 is "inside" our corporate network, from the first SF300-08 to the 2nd SF300-08 will be "outside" our network, and the final SF300-24 will be consiered "inside" our network.
    For all intents and purposes, we are trying to build this out correctly without the AirMax bridges in place at the start since they are just a bridge and should function as a cable once in place.  Since the segment from one SF300-08 to the other will be considered external equipment, we need to have the feed from the 3550 to the SF300-24 as an isolated VLAN through this chain to be able to give the remote office network access.  We want the SF300-24 to think that it is basically trunked directly into the 3550 once all is said with all our internal VLANS available at the opposite end.
    Right now, based on documentation and things we have read in various forums, we have it currently setup as follows :
                       IN                                                                         OUT
    1)                                                                                  3550 dot1q Trunk
    2)  SF300-08 Customer QinQ Trunk (vlan 3000)                  SF300-08 Trunk (vlan 3000)
    3)  SF300-08 Trunk  (vlan 3000)                                      SF300-08 Customer QinQ Trunk (vlan 3000)
    4)  SF300-24 Trunk
    So, we are trunking the 3550 into the SF300 chain, passing the internal information over vlan 3000 while in transport, then coming out the other end on the SF300-24 trunk port.
    Is this in any way remotely correct for what we are trying to do?  I know that if we stuck with all 3550s throughout the chain that we would have some dot1q-tunnel ports configured for an easier setup, but from the limited knowledge I have on these 300 series switches they are not capable of being configured this way, and I may well be totally wrong in that.
    I will be happy to clarify more on certain parts if needed, but with so many pieces of equipment in this chain screenshotting everything would be a hellish mess.
    Any suggestions or input on this would be greatly helpful at this point.

    check the mtu's of the AirMax Bridges, lol... this made us beat our heads for way too long

  • Ecommerce theory question...

    I've been working on my first online store, and just have a
    quick question that struck me whilst trying to think ahead, and how
    people could potentially break the system.
    I'm using web assist's ecart, and as it's my first, I'm not
    sure how things are typically set up.
    Basically this set up involves sending the customer to an
    externam payment gateway, where card details are taken and
    processed, before the customer is returned to the main site.
    At the point where the customer is sent on to the gateway, a
    record is created in an orders table, which includes a field 'Order
    Status', which defaults to 'Pending'. Once the payment has been
    approved, the customer is passed back to a 'return' page, which
    contains a script to update the order status field from 'pending'
    to 'accepted'.
    It also seems like a logical place to generate a receipt to
    be sent out to the customer.
    My question is this tho' - what's to stop a savvy customer
    getting to the payment gateway, but not entering any payment
    details, and then just manually going to the return page, which
    would trigger the update 'Order Status' field, and even worse,
    generate a receipt for something which hadn't actually been paid
    for?

    I suppose the session variables set by the success/failure of
    the
    transaction between the cart and the payment gateway would be
    the roadblock
    for this scheme. Surely the return page would check for that
    before
    triggering the update....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Iain71" <[email protected]> wrote in
    message
    news:[email protected]...
    > I've been working on my first online store, and just
    have a quick question
    > that
    > struck me whilst trying to think ahead, and how people
    could potentially
    > break
    > the system.
    >
    > I'm using web assist's ecart, and as it's my first, I'm
    not sure how
    > things
    > are typically set up.
    >
    > Basically this set up involves sending the customer to
    an externam payment
    > gateway, where card details are taken and processed,
    before the customer
    > is
    > returned to the main site.
    >
    > At the point where the customer is sent on to the
    gateway, a record is
    > created
    > in an orders table, which includes a field 'Order
    Status', which defaults
    > to
    > 'Pending'. Once the payment has been approved, the
    customer is passed back
    > to a
    > 'return' page, which contains a script to update the
    order status field
    > from
    > 'pending' to 'accepted'.
    >
    > It also seems like a logical place to generate a receipt
    to be sent out to
    > the
    > customer.
    >
    > My question is this tho' - what's to stop a savvy
    customer getting to the
    > payment gateway, but not entering any payment details,
    and then just
    > manually
    > going to the return page, which would trigger the update
    'Order Status'
    > field,
    > and even worse, generate a receipt for something which
    hadn't actually
    > been
    > paid for?
    >
    >
    >

  • Log Axis Graph Question

    Does anyone know if it is possible to modify the the log axis
    to set arbitrary limits.
    By default the extents are 1,10,100,1000 etc. I want to
    create an audio test chart with lower limit of 20 Hz and upper
    limit of 20 kHz.

    I know this was a while ago now, but did you ever get anywhere with your search for a better Log axis? I'm looking for exactly the same thing.

Maybe you are looking for

  • How do I stop multiple downloads of the same movie

    I rented a harry potter movie last month and now everytime I open itunes it starts downloading another copy. 1.4 gigs and I have 6 now??? How do I stop the maddness???

  • Having issues created a .pdf from a Word .doc.

    I tried converting a Word doc today, and was given the error "Missing PDF file maker. Do you want to run this in repair mode?  I click yes, it scans (for several minutes) then no document.  A document icon appears on the opening page, yet when you cl

  • Wireless turned off on laptop

    I have an hp gateway lap top computer I think model E56R49u, and believe my wireless is turned off and there is no button to click on or anything. Can anybody help?

  • Feature Request: External Monitor!

    Please make Front Row work on external monitors without having to change the primary monitor to the external. This is a major pain, and it must be common for lots of people to use their large displays as a secondary monitor, so I'm frankly baffled at

  • IPAD - unable to read downloaded books w/o internet connection

    New iPAD user this week. I have downloaded a couple books, but I can only read them when I am someplace with internet connection. Reading the instructions in the manual does not specifically tell me what I have done wrong. what tool do you need so th