Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

Bypass the Confirm page

Education Center mailbox030403 at mail.ru
Tue Feb 6 22:47:49 PST 2007


Hi!

I have question about what is the best way how to bypass the displaying of the Confirm page
after successful login. My quick and simple solution was just add the following line 
to the <head> statement of confirm.tmpl:

 <meta http-equiv="refresh" content="0; URL='<TMPL_VAR ESCAPE=HTML NAME=return_url>'">

Also edit confirm.tmpl to disable any output to web page. So all tags have been removed but <TMPL_..>.

Thanks in advance.

Ils.
Education Center
Russia

****

modified confirm.tmpl:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <http-equiv="pragma" content="no-cache">
    <title>Webauth Confirm</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="refresh" content="0; URL='<TMPL_VAR ESCAPE=HTML NAME=return_url>'">
  </head>

  <TMPL_IF NAME=notdefined>
    <TMPL_VAR ESCAPE=HTML NAME=username>
    <TMPL_VAR ESCAPE=HTML NAME=return_url>
    <TMPL_VAR ESCAPE=HTML NAME=pretty_return_url>
    <TMPL_IF NAME=login_cancel>
	<TMPL_VAR ESCAPE=HTML NAME=cancel_url>
    </TMPL_IF>

    <TMPL_IF NAME=show_remuser>
	<TMPL_VAR ESCAPE=HTML NAME=script_name>
        <TMPL_VAR ESCAPE=HTML NAME=return_url>
	<TMPL_VAR ESCAPE=HTML NAME=username>
        <TMPL_IF NAME=login_cancel>
		<TMPL_VAR ESCAPE=HTML NAME=cancel_url>
        </TMPL_IF>
    </TMPL_IF>
  </TMPL_IF>
</html>
---



More information about the webauth-info mailing list