PDA

View Full Version : Have to sign-in twice to be signed in.


HelenaM
09-06-06, 06:27 PM
I don't know if this is a bug. I have MM5. When I (as a customer) sign in from my storefront, I don't get any error messages - I sign in. Everything looks fine. But when I click to go to one of the categories - I notice that I'm no longer signed in and I have to sign in again. After I do it the second time - it sticks - it's ok. What's up with this? It's a little annoying.

Helena

Vic - WolfPaw Computers
09-06-06, 06:40 PM
Did you alter your LOGN page template?

ILoveHostasaurus
09-06-06, 06:49 PM
Sounds like you might be switching your URL around; for example, if you send people to the sign-in page as domain.com but then the store is set to run as www.domain.com and changes to that after logging in, the browser will view that as two different domains and you'll lose the cookie assigned to you during the first sign-in.

HelenaM
09-06-06, 07:17 PM
I haven't changed the LOGN page. I login just fine - it's when I click to go to a category on the side of the page that it knocks me out.
The LOGN page looks like this -
<html>
<head>
<title>&mvt:store:name;: Customer Login</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
</head>
<mvt:item name="body">
<mvt:item name="hdft" param="global_header" />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" valign="bottom">
<mvt:item name="navbar" />
</td></tr>
<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="header" />
</td></tr>
<mvt:item name="brokosm" param="LOGN_header" />
<tr><td align="left" valign="top" width="100%">
<br>
<mvt:item name="fonts" param="body_font">
<a href="&mvt:global:secure_sessionurl;Store_Code=&mvta:store:code;&Screen=ACNT">Create New Account</a><br>
<mvt:item name="messages" />
</mvt:item>
<form method="post" action="&mvt:global:secure_sessionurl;">
<mvt:item name="brokosm" param="LOGN_form1" />
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<input type="hidden" name="Screen" value="SFNT">
<table border="0">
<tr><td align="left" valign="middle" colspan=3>
<mvt:item name="fonts" param="body_font">
<b>Login to Existing Account:</b>
</mvt:item>
</td></tr>
<tr><td align="left" valign="middle">
&nbsp;&nbsp;
</td><td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
<b>Login:</b>
</mvt:item>
</td><td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
<input type="text" size="40" name="Customer_Login" value="&mvte:global:Customer_Login;">
</mvt:item>
</td></tr>
<tr><td align="left" valign="middle">
&nbsp;&nbsp;
</td><td align="left" valign="middle">
&nbsp;
</td><td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
<input type="radio" name="Action" value="LOGN" checked> Password: <input type="password" size="30" name="Customer_Password"><br>
<input type="radio" name="Action" value="EMPW"> Please Email Me My Password
</mvt:item>
</td></tr>
<tr><td align="left" valign="middle">
&nbsp;&nbsp;
</td><td align="left" valign="middle">
&nbsp;
</td><td align="right" valign="middle">
<mvt:item name="fonts" param="body_font">
<mvt:item name="buttons" param="Login" />
</mvt:item>
</td></tr>
</table>
</form>
</td></tr>
<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="footer" />
</td></tr>
<mvt:item name="brokosm" param="LOGN_footer" />
</table>
<mvt:item name="hdft" param="global_footer" />
</mvt:item>
</html>

Vic - WolfPaw Computers
09-06-06, 07:39 PM
You're problem is in your URLs.

Some are http://store.gktw.org and some are your IP address.

You are disconnecting the shopper from the cookie that was set.

Be consistent with your links.