tdereta Posted June 3, 2005 Share Posted June 3, 2005 Hello, I have created a dropdown menu in a WYSIWYG program. It woks fine with only one problem. When I'm loged in osCommerce and click a link in my dropdown menu I get loged off. Here is a quick view of the code in JS (a part from it): this.url0 = "<?=tep_href_link(FILENAME_DEFAULT,'','SSL');?>" this.status0 = "Home" this.url1 = "<?=tep_href_link(FILENAME_DEPARTMENTS,'','SSL');?>" this.status1 = "Departments" this.url2 = "<?=tep_href_link(FILENAME_WHOLESALE,'','SSL');?>" this.status2 = "Wholesale" this.url3 = "<?=tep_href_link(FILENAME_ACCOUNT,'','SSL');?>" this.status3 = "My Account" this.url4 = "<?=tep_href_link(FILENAME_ABOUT,'','SSL');?>" this.url5 = "<?=tep_href_link(FILENAME_HELP,'','SSL');?>" this.status5 = "Help" My dropdown menu has these links: Home, Departments, Wholesale, My Account. What is wrong with this code? :huh: Why do I get loged off? :huh: Please help. Thank you! Theo Link to comment Share on other sites More sharing options...
[MaDBuCe] Posted July 11, 2005 Share Posted July 11, 2005 try to add the session to the url. (you probably don't use cookies) Like this tep_href_link(FILENAME_HELP,'','SSL') . tep_session_id() People aren't afraid of how bad you are, People are afraid of how good you are. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.