Chuck,
This is easy to do after you do it once.
At the beginning of your TAF, add an IF statement that checks for the port.
HTTPS is 443, HTTP is 80:
<@cgiparam server_port> != 80
Do the following: (replace [ with <)
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
[HTML>
[HEAD>
[TITLE>SECURE LOGON[/TITLE>
[/HEAD>
[EMAIL PROTECTED]> test to see if secure already in tango by using
IF [EMAIL PROTECTED] server_port> != 80 (IT WILL BE 80 OR 443) 80=HTTP
443=HTTPS
[meta http-equiv="Refresh" content="1; URL=https://<@cgiparam
server_name><@CGI><@appfile>?_FUNCTION=<@ARG
name=_FUNCTION>?<@userreferenceargument>" >
[/@comment>
[BODY>
[meta http-equiv="Refresh" content="1;
URL=https://www.eapintl.com<@appfile>?_FUNCTION=<@ARG
name=_FUNCTION>&<@userreferenceargument>" >
[/BODY>
[/HTML>
There is probably a slicker way to do this, but this has worked for me.
You have to pass the @userreferenceargument or you will loose your user
variables.
Troy
-----Original Message-----
From: Chuck Lockwood [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 1:18 PM
To: WiTango-Talk
Subject: Witango-Talk: secure tango site
Ok, installing my first secure certificate to work with a tango app. Can
you change from http to https within the same application file? If so, how
do you preserve the user and domain variables? What else should I know
about the issue but am to stupid to ask?
Thanks!
Chuck Lockwood
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LockData Technologies, Inc.
309 Main Avenue, Hawley, Pa 18428
570-226-7340 ~ Fax: 570-226-7341
[EMAIL PROTECTED] ~ www.lockdata.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf