Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How much user information can be captured
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How much user information can be captured

 Post Reply Post Reply
Author
sccs View Drop Down
Groupie
Groupie
Avatar

Joined: 31 October 2002
Location: United Kingdom
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote sccs Quote  Post ReplyReply Direct Link To This Post Topic: How much user information can be captured
    Posted: 18 November 2005 at 7:40am
I am using ASP for our school website and would like to capture as much hidden user information on the forms submitted from our site. I have set the form to capture the IP address but what other information can I capture. I would like to capture the students Username if possible. We get loads of crap posted from students. It is now set up to ban any submissions from our school IP address but it would be nice to capture the students username if they submit anything.
Thanks Wink
Back to Top
pilot99 View Drop Down
Groupie
Groupie


Joined: 05 July 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote pilot99 Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2005 at 11:10am
well how is their username stored through a field or a database or a network?
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2005 at 1:03pm
If they have to be logged on to the same network as the web server in order to access it, you may want to check out the REMOTE_USER server variable.

Here's an asp script I use to check app and server variables, cookies, etc.

Quote <%
'
' List Server, Application and Session Variables
'

On Error Resume Next
dim strName
dim strSubKey
Dim item, itemloop

response.write "SERVER Variables Count = " & Request.ServerVariables.Count & "<br/><br/>"
For Each strName In Request.ServerVariables
    If strname ="ALL_HTTP" OR strname ="ALL_RAW" then
        response.write "Server Variable " & strName &" = <br/>" & Request.ServerVariables(strName) & "<br/><br/>"
    Else
        response.write "Server Variable " & strName &" =  " & Request.ServerVariables(strName) & "<br/>"
    End If
Next
response.write "<br/><br/>"


%>
SESSION Variables Count = <% =Session.Contents.Count %> Found<br/><br/>
<%
For Each item in Session.Contents
  If IsArray(Session(item)) then
    For itemloop = LBound(Session(item)) to UBound(Session(item))
%>
<%=item%>  <%=itemloop%> <% =Session(item)(itemloop) %><br/>
<%
    Next
  Else
%>
<% =item %> <% =Session.Contents(item) %><br/>
<%
  End If
Next
%>

<hr>

APPLICATION Variables Count = <% =Application.Contents.Count %> Found<br/><br/>
<%
For Each item in Application.Contents
  If IsArray(Application(item)) then
    For itemloop = LBound(Application(item)) to UBound(Application(item))
%>
<% =item %>   <% =itemloop %> <% =Application(item)(itemloop) %><br/>
<%
    Next
  Else
%>
<% =item %> <% =Application.Contents(item) %><br/>
<%
  End If
Next
response.write "<br/><br/><hr />"


response.write "MISCELLANEOUS Server Info<br/><br/>"

Response.Write "WebRoot Server Mappath = " & Server.MapPath("\") & "<br/>"

dim objAdoVer
Set objAdoVer = Server.CreateObject("adodb.connection")
response.write "ADOVersion = " & objAdoVer.Version
Set objAdoVer = Nothing
%>


Lead me not into temptation... I know the short cut, follow me.
Back to Top
sccs View Drop Down
Groupie
Groupie
Avatar

Joined: 31 October 2002
Location: United Kingdom
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote sccs Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2005 at 4:41am
The students log on to the school network but the website is hosted outside. Would this be a problem?
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2005 at 8:03pm
Only in the sense that their network credentials probably wouldn't be available to you.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Scott07 View Drop Down
Groupie
Groupie


Joined: 04 July 2002
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scott07 Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2005 at 3:35pm
It would make sence surley to make them need to have a seperate login to access any part of the site, in which case you dont allow people to register and you give each student their own login, that way it would be very easy to see whos done what.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.