For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > November 2004 > Keep log file in ASP.NET









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Keep log file in ASP.NET
junglist

2004-11-29, 8:57 pm

Hi ,
i've implemented an asp website using VB.NET and want to:

- Keep a log file with all the visitors( refferal http, ip, time etc)
- Have that log file encrypted and decrypted through a web page interface.

Any suggestions would be really helpful

Thank you
John Timney \(ASP.NET MVP\)

2004-11-29, 8:57 pm

Your kind of reinventing the wheel. IIS already keeps a logfile of requests
and details relating to requests. Ideally, you need to work out how to
render it via SSL of wrap access to it using adequate file permissions.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"junglist" <thenickm@hotmail.com> wrote in message
news:76c1a1f0.0411291238.1bff7b43@posting.google.com...
> Hi ,
> i've implemented an asp website using VB.NET and want to:
>
> - Keep a log file with all the visitors( refferal http, ip, time etc)
> - Have that log file encrypted and decrypted through a web page interface.
>
> Any suggestions would be really helpful
>
> Thank you



junglist

2004-11-30, 4:03 pm

Yes i am aware of that. However this is part of an assignment for
extra credit and i was looking for some ideas to get me started. I am
not looking forward towards creating something really advanced



"John Timney \(ASP.NET MVP\)" <timneyj@despammed.com> wrote in message news:<esuBMol1EHA.1392@tk2msftngp13.phx.gbl>...[color=darkred]
> Your kind of reinventing the wheel. IIS already keeps a logfile of requests
> and details relating to requests. Ideally, you need to work out how to
> render it via SSL of wrap access to it using adequate file permissions.
>
> --
> Regards
>
> John Timney
> ASP.NET MVP
> Microsoft Regional Director
>
> "junglist" <thenickm@hotmail.com> wrote in message
> news:76c1a1f0.0411291238.1bff7b43@posting.google.com...
John Timney \(ASP.NET MVP\)

2004-11-30, 8:58 pm

ah well, why dont you write an iHTTPModule that captures the information as
it passes through the response stream and records it in a file - you could
encrypt it with an MD5 hash and get the viewer to provide the seed for the
hash as a means of allowing the data to be unencrypted.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"junglist" <thenickm@hotmail.com> wrote in message
news:76c1a1f0.0411300815.2172769a@posting.google.com...
> Yes i am aware of that. However this is part of an assignment for
> extra credit and i was looking for some ideas to get me started. I am
> not looking forward towards creating something really advanced
>
>
>
> "John Timney \(ASP.NET MVP\)" <timneyj@despammed.com> wrote in message

news:<esuBMol1EHA.1392@tk2msftngp13.phx.gbl>...[color=darkred]
requests[color=darkred]
interface.[color=darkred]


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com