justinwillis Posted June 20, 2011 Share Posted June 20, 2011 Hi all, I have some static links in my website. After login if I click on that link then I automatically logged off from my site and ask for re-login. Any clue? Link to comment Share on other sites More sharing options...
multimixer Posted June 20, 2011 Share Posted June 20, 2011 This is because the session get lost when clicking on them To where do this links link to? If it is to pages outside of the oscommerce environment, then you should consider adding that pages into osCommerce. If that is not possible (eg because you have a forum or something) then make them to open the link target in a new window If the pages you lin too are within osCommerce, then clearly you don't format the links correctly. You need to use the "tep_href_link" function for all links. Plain <a href= links will result to a loss of session id. Take a look how other links are done (eg in the information box) and use the same way My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.