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. Advertisements

  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. Advertisements

  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. Advertisements

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. Isaac
    Replies:
    0
    Views:
    2,623
    Isaac
    Jul 10, 2003
  2. The Eeediot
    Replies:
    3
    Views:
    2,527
    =?Utf-8?B?UnVsaW4gSG9uZw==?=
    Dec 22, 2004
  3. George2
    Replies:
    1
    Views:
    1,043
    Alf P. Steinbach
    Jan 31, 2008
  4. Novice Coder
    Replies:
    27
    Views:
    950
    BCFD36
    Jan 14, 2012
  5. Trans
    Replies:
    3
    Views:
    361
    Trans
    Dec 21, 2005
  6. sahm
    Replies:
    4
    Views:
    912
  7. JL
    Replies:
    2
    Views:
    255
    Tim Chase
    Dec 14, 2013
  8. Chris Angelico
    Replies:
    4
    Views:
    324
    Tim Chase
    Dec 19, 2013
Loading...