Use XML to read/write a counter variable

Discussion in 'ASP .Net' started by gce, Mar 17, 2005.

  1. gce

    gce Guest

    Hi,

    I am an old vb6 programmer and new to ASP.NET. Please help me on the way.

    How can I read/write a variable to a server-file. (maybe XML?) Have to use a
    lock function too i think.

    Thanks,
    Gert
    gce, Mar 17, 2005
    #1
    1. Advertising

  2. You really wouldn't want to use an xml file if multiple users
    are going to be updating the same file. You don't want
    each http request having to wait until a previous lock is
    released.

    --
    2005 Microsoft MVP C#
    Robbe Morris
    http://www.robbemorris.com
    http://www.masterado.net/home/listings.aspx



    "gce" <> wrote in message
    news:d1bbef$fd8$1.ov.home.nl...
    > Hi,
    >
    > I am an old vb6 programmer and new to ASP.NET. Please help me on the way.
    >
    > How can I read/write a variable to a server-file. (maybe XML?) Have to use
    > a lock function too i think.
    >
    > Thanks,
    > Gert
    >
    Robbe Morris [C# MVP], Mar 17, 2005
    #2
    1. Advertising

  3. gce

    gce Guest

    Wat is the best way to do the trick without XML?
    "Robbe Morris [C# MVP]" <> schreef in bericht
    news:...
    > You really wouldn't want to use an xml file if multiple users
    > are going to be updating the same file. You don't want
    > each http request having to wait until a previous lock is
    > released.
    >
    > --
    > 2005 Microsoft MVP C#
    > Robbe Morris
    > http://www.robbemorris.com
    > http://www.masterado.net/home/listings.aspx
    >
    >
    >
    > "gce" <> wrote in message
    > news:d1bbef$fd8$1.ov.home.nl...
    >> Hi,
    >>
    >> I am an old vb6 programmer and new to ASP.NET. Please help me on the way.
    >>
    >> How can I read/write a variable to a server-file. (maybe XML?) Have to
    >> use a lock function too i think.
    >>
    >> Thanks,
    >> Gert
    >>

    >
    >
    gce, Mar 17, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. The Eeediot
    Replies:
    3
    Views:
    2,214
    =?Utf-8?B?UnVsaW4gSG9uZw==?=
    Dec 22, 2004
  2. George2
    Replies:
    1
    Views:
    782
    Alf P. Steinbach
    Jan 31, 2008
  3. Dale
    Replies:
    3
    Views:
    5,561
  4. sahm
    Replies:
    4
    Views:
    669
  5. Tim Chase
    Replies:
    0
    Views:
    85
    Tim Chase
    Dec 16, 2013
Loading...

Share This Page