Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [p3rfect] Wap

Quote Reply
Re: [p3rfect] Wap In reply to
Hi,

Restore the wap template set to the original state. It seems u have changed the login.htm or something. After restoring the templates (wap) try again. At least i see that domain name hard coded in your case. The source of your wap and mine is as follows:

----My source---

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="login" title="My Title">
<p mode="nowrap"><b>Login</b><br/>
Username: <input name="username" title="Username" emptyok="false"/><br/>
Domain: <input name="domain" value="mydomain.com" title="Domain" emptyok="false"/><br/>
Password: <input name="password" title="Password" emptyok="false"/>
</p>
<do type="accept" label="Login">
<go method="post" href="login.cgi">
<postfield name="t" value="wap"/>
<postfield name="no_update" value="1"/>
<postfield name="cookie" value="no"/>
<postfield name="username" value="$(username)"/>
<postfield name="domain" value="$(domain)"/>
<postfield name="password" value="$(password)"/>
<setvar name="password" value=""/>
</go>
</do>
</card>
</wml>




----Your WAP Login ---

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="login" title="Gossamer Mail">
<p mode="nowrap"><b>Login</b><br/>
Username: <input name="username" title="Username" emptyok="false"/><br/>
Domain: nightmaresonwax.net<br/> (this needs correction)
Password: <input name="password" title="Password" emptyok="false"/>
</p>
<do type="accept" label="Login">
<go method="post" href="login.cgi">
<postfield name="t" value="wap"/>
<postfield name="no_update" value="1"/>
<postfield name="cookie" value="no"/>
<postfield name="username" value="$(username)"/>
<postfield name="domain" value="nightmaresonwax.net"/> This needs correction
<postfield name="password" value="$(password)"/>
<setvar name="password" value=""/>
</go>
</do>
</card>
</wml>


Kindly do the above changes and pass the domain name thru the browser based redirection script that i sent to you.
Subject Author Views Date
Thread Wap p3rfect 9766 Aug 5, 2003, 9:50 AM
Thread Re: [p3rfect] Wap
brewt 9651 Aug 5, 2003, 11:37 AM
Thread Re: [brewt] Wap
p3rfect 9668 Aug 5, 2003, 12:08 PM
Thread Re: [p3rfect] Wap
brewt 9649 Aug 5, 2003, 4:39 PM
Thread Re: [brewt] Wap
p3rfect 9621 Aug 5, 2003, 5:45 PM
Thread Re: [p3rfect] Wap
anup123 9585 Aug 6, 2003, 5:15 AM
Thread Re: [anup123] Wap
p3rfect 9595 Aug 6, 2003, 5:42 AM
Thread Post deleted by p3rfect
p3rfect 9599 Aug 6, 2003, 6:11 AM
Post Post deleted by p3rfect
p3rfect 9596 Aug 6, 2003, 6:17 AM
Thread Re: [p3rfect] Wap
anup123 9582 Aug 6, 2003, 6:30 AM
Thread Re: [anup123] Wap
p3rfect 9581 Aug 6, 2003, 6:37 AM
Thread Re: [p3rfect] Wap
anup123 9574 Aug 6, 2003, 6:53 AM
Thread Re: [anup123] Wap
p3rfect 9605 Aug 6, 2003, 6:56 AM
Thread Re: [p3rfect] Wap
p3rfect 9581 Aug 7, 2003, 12:20 PM
Post Re: [p3rfect] Wap
p3rfect 9548 Aug 16, 2003, 6:25 AM
Post Re: [brewt] Wap
anup123 9601 Aug 6, 2003, 4:40 AM