% function getThisPage() Dim sPath Dim lLastSlashPosition Dim sCurrPage Dim lPathLength sPath = Request.ServerVariables("PATH_INFO") lLastSlashPosition = instrrev(sPath, "/") lPathLength = len(Request.ServerVariables("PATH_INFO")) getThisPage = right(sPath, (lPathLength-lLastSlashPosition)) end function %> <% on error resume next Dim pathCounter Dim filecounter Dim myfile Dim visita pathCounter="/public/" filecounter = pathcounter & getthispage() & ".txt" myfile=server.mappath(filecounter) Set fs=CreateObject("Scripting.FileSystemObject") if fs.fileExists(myfile) then Set a=fs.OpenTextFile(myfile) visita=Cdbl(a.ReadLine) else Set a=fs.CreateTextFile(myfile, False) a.WriteLine("0") visita=0 end if a.close if Len(Session(filecounter))=0 then Session(filecounter)=visita visita=visita+1 Set a=fs.CreateTextFile(myfile, True) a.WriteLine(visita) a.Close end if set fs = nothing %>
Documenti |
tipo | kb |
Copertina | __ | |
Deliberazione
N. 1956 del 30 novembre 2006 |
__ | |
2
- Relazione | 827 | |
3
- Documento di Piano | 1.720 | |
4
- Linee Guida | 1.030 | |
5
- Cartografia | 2.400 | |
6
- Osservazioni | 122 | |
7
- Disegno di Legge | 91 | |
8
- Intesa | 420 | |
Documenti
Correlati | ||
Osservazioni
al PTR - Valutazioni - Parte 1 | 2.66
| |
Osservazioni
al PTR - Valutazioni - Parte 2 | 2.66
|