PDA

View Full Version : Remember me on external form


shiznatix
07-16-2009, 02:04 PM
Hey,

I have our site split up into the main site and the forum but the login / session is all done through vB. I have for the longest time had a login form on the main page that works perfectly except recently I have noticed that the "remember me" function does not seam to work. It works perfectly if you login on the forum pages login form but not on the main pages login form. The HTML that I am using is exactly this:


<form action="https://www.localhost/poker-forum/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<div style="width:49%;float:left;margin-bottom:4px;">
<label for="navbar_username">username:</label>
<br/>
<input type="text" name="vb_login_username" id="navbar_username" class="logininput" tabindex="1" />
<div style="padding:8px 0 0 0;">
<label>
<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" style="margin:0;" tabindex="3" accesskey="c" />&nbsp;&nbsp;Remember me? </label>
</div>
</div>
<div style="width:49%;float:right;margin-bottom:4px;">
<label for="navbar_password">password:</label>
<br/>
<input type="password" name="vb_login_password" id="navbar_password" class="logininput" tabindex="2" />
<div style="text-align:right;padding:8px 7px 0 0;">
<input type="hidden" name="s" value=""/><input type="hidden" name="do" value="login"/><input type="hidden" name="vb_login_md5password"/><input type="hidden" name="vb_login_md5password_utf"/><input type="image" src="http://cdn.cloudfiles.mosso.com/c63662/button-login.png" alt="" tabindex="4" />
</div>
</div>
<div style="clear:both;">
<a href="register/">Create new account</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="poker-forum/login.php?do=lostpw" >Lost password</a>
</div>
</form>


Does anyone see anything obvious that would be causing this abnormality?

shiznatix
07-20-2009, 06:32 AM
*bump* does anyone have any idea why this is happening?