OK, thanks.

Also, what would keep a user from then book marking the log on page,
there-by by-passing the TOUA?

John Tolmachoff
IT Manager, Network Engineer
RelianceSoft, Inc.
Fullerton, CA  92835
www.reliancesoft.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Norman J.
Nolasco
Sent: Wednesday, June 19, 2002 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [IMail Forum] Web Mail ASP Log on page

John,

That's pretty simple to do. I don't have enough time right now to get
the syntax right, but this is approximately the code you should use.
Again, syntax is a little off:

<script language="javascript">
<%
        blAgreed = Request.Cookies("agreeChecked")
        if blAgreed then
%>
        document.location = "http://mail.domain.com:8383";;
<%
        else
%>
        Your customer agreement here.<br><br>

        <form method="post" action="setCookie.asp">
        <input type="checkbox" name="agree"> I agree<br>
        <input type="submit">
        </form>
<%
        end if
%>
</script>

Of course, you'll have to set the agreeChecked cookie in the
setCookie.asp page and forward the user on to the login page.

Feel free to email me, if this isn't clear.

-Norm


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Tolmachoff
Sent: Wednesday, June 19, 2002 10:12 AM
To: Imail Forum
Subject: [IMail Forum] Web Mail ASP Log on page


It has been discussed here about having IIS answer port 80 for web mail
then forward to a different port for Imail, as IIS can handle attacks
better than Imail can.

I have an idea to expand on that.

The default page in IIS that some on gets when they go to
http://mail.reliance.net would be a ASP page. This page would have a
introductory header, then the terms of use agreement. At the bottom
would be Agree and Disagree buttons. When a user clicked on Agree, they
would then be taken to the web mail log on page.

That part is easy.

But what about when they click on Agree, it asks to place a cookie on
the computer which had only the purpose of remembering that the user
clicked on Agree. Then, the next time they went to the default page, it
would recognize that the cookie was there and automatically forward to
the web mail log on page.

Any one doing that? What does it take to do that?

08:11 PDT 06/19/02

John Tolmachoff
IT Manager, Network Engineer
RelianceSoft, Inc.
Fullerton, CA  92835
www.reliancesoft.com
 


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to