[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] cgi::app, cgi::session & https


> Now I would like to use HTTPS for login and then back to HTTP for
everything
> else. I'm currious how other CGI::App users are accomplishing this.
>
> My first thought is to just use different run modes and make use of header
> redirect's.
>
> Am I on the right track there?
>
Hi,

The way I do it is to have a parm in the instance script that says if the
page is to be secure or not.

In the cgiapp_init section I have checks that if the flag is set to secure
and the session is not secure I redirect to secure and the same the other
way.

Adam


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.541 / Virus Database: 335 - Release Date: 15/11/2003


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.