Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login - send user to a specific page


mattmcb

Recommended Posts

Does anyone know what tells the login page to send the user to the index after they have submitted the correct email address and password?

 

I can't find a re-direct and I am unsure on how that page works. There doesn't seem to be anything in that file to reference the index.

 

I am boogled... any help would be great.

Link to comment
Share on other sites

Basically I want to use the login to direct to a seperate members page. I found this code, but it isn't working... it seems to ingnore it:

 

        if (sizeof($navigation->snapshot) > 0) {
         $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
         $navigation->clear_snapshot();
         tep_redirect($origin_href);
       } else {
         tep_redirect(tep_href_link('main.php'));
       }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...