Link redirect Question
Sheldon Ross <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Another question I have:
Is there an easier way to redirect to secure server.
I've figured out a way to do it.
Basically on a screen I'll have something like:
<a href="$link.setPage('mydir,mytemplate').toString().replaceAll("http:","https:")"> Secure Link</a>
Which works fine in some occasions.
Is there a way to tell turbine to do this in the setTemplate(data,"template") function ?
I would like to be able to automatically redirect to the secure side.
Any advice would be appreciated.
Thanks,
Sheldon
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009