I'm seeing an issue where I login on the frontend and the URL becomes S=c3992270d168f3ec9ab1df5bc06afce3/test where test is the segment I'm passing from the return parameter.

I can't fathom where the first part is coming from though.

Logic in the template is pretty simple

{if logged_in}
hello steven
<a href="{path='logout'}">Log Out</a>
{exp:member:login_form return="/{segment_1}/{segment_2}"}
    <input type="text" name="username" value="" maxlength="32" size="25">
    <input type="password" name="password" value="" maxlength="32" size="25">
  <p><input type="submit" name="submit" value="Submit"></p>
  <p><a href="{path='member/forgot_password'}">Forgot your password?</a></p>

Session related? Structure bug (seen that before) or something else?


Setting $config['website_session_type'] = 'c'; has sorted the logic.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.