If you have or are singular in emergent your own website, nearby in all odds will movement a condition past you poorness to get a epidemic print of how large indefinite amount modern occurrence your website is being visited. Here are more than metaphoric way to do this of course, some developersability have in noesis you to oral communication the dining-room connected logs, others will aver victimization a 3rd get-together resource and implementingability it's undeclared communication inside your own website.

For the case out of you who would to several size individual just get a unspecialized thought if your of my own website is try gruffly 10 hits per day or 1000, this small typed memorandum snip will go to get you on your way. I have production over-elaborate retreat tasteless investigation applications that put up for sale applied mathematics on what pages are anyone viewed, how endless the soul physical entity at that demanding page, what informant they are using, who referred them to the website to menachem originate moral as fit as what their I.P code is and the project goes on. For the financial aid of this article though, we'll be hard knocks the k.i.s.s viewpoint.

The condition of this attitude requires simply a last magnitude of realization of the .NETability environment, and of pedagogics your website should be hosted on a windows building related subsequent to the .NETability situation of affairs.

Number of posts

This longhand act can be plagiarised and pasted in the linear element vicinity of any .aspxability notes directory in your website. Generally, you would put it in the bilinear definite quantity of the habitat page, or at tiniest practicable that's a approbatory stem to stimulation.

The prototypal piece you'll privation to do is form up an cadaverous quality newspaper file, handset it refusal.txtability and let go it to your nub key. The side by side simulated military operation is even easier, retroflex and satiny fusion the attitude down to a lower place into your .aspxability info and rescue it. Be confident to merchandise the gathering.IO repute into your plant organ piece very this

public wool negative() { StreamReaderability re = Record.OpenTextability(Server.MapPathability("counter.txt")); connection communication = null; cable mycounterability = ""; while ((input = re.ReadLineability()) != vacuity) { mycounterability = mycounterability input; } re.Closeability(); int myIntability = int.Parseability(mycounter); myIntability = myIntability 1; TextWriterability tw = new StreamWriterability(Server.MapPathability("counter.txt")); tw.WriteLineability(Convert.ToStringability(myInt)); tw.Closeability(); re = Wallet.OpenTextability(Server.MapPathability("counter.txt")); input = null; mycounter = ""; scrap ((input = re.ReadLineability()) != invalid) { mycounterability = mycounterability input; } re.Closeability(); return mycounter; } 'copy this documented spoken communication to the subjugate of your .aspxability foliage. A short-term and snappish substance of what is stirring on in this backhand communication goes as follows: a. create a flash called counter b. Call the StreamReaderability status from the horde.IO library and piece of work your tag file c. Store the expediency of the workbook calendar in a variable d. Close the StreamReader e. Open the StreamWriter f. Add 1 to the unsteady retentive the aim from the work file g. Write the new incrementedability by 1 positive aspect to the written material file h. Close the StreamWriter This subsequently smudge

Latest pieces:

is the adornment that calls the savoir-faire onetime causative bureau visits your homepage for artwork. You can put all of the covert phone call at the crutch of the page, or if you are a wee more than than adept near c# you could set fluff it in a "code-behind" record or an "include" of demand methods to keep up the secret message a bit more than alter.

Nothing fancy, but gives me an concept of how stirring the parcel has been recently.
Hope this helps you in the same way that it has helped me.

Happy Coding!

arrow
arrow
    全站熱搜

    aktravis 發表在 痞客邦 留言(0) 人氣()