logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Danisoft
    • Posted on Tue 16 Nov 2010 08:53 AM

    Hi Jake.

    To enable more than one vote behind proxy i use this code.

    Set doc=s.Documentcontext

    ......

    Dim realip As String

    ' Prevent Proxy IP

    If doc.HTTP_X_FORWARDED_FOR(0)="" Then

    realip=doc.remote_addr(0)

    Else

    realip=doc.HTTP_X_FORWARDED_FOR(0)

    End if

    Great Job.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: