szsupernan Posted June 11, 2011 Share Posted June 11, 2011 hi, I have one question about the following function. I think we should add session id parameter to url when the web browser forbid cookie. but in most cases the web browser allow the cookie data. so I think the $add_session_id default value should be false. but now it is true. function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) Link to comment Share on other sites More sharing options...
szsupernan Posted June 11, 2011 Author Share Posted June 11, 2011 I want to give another comment about the question. I suggest we can add some php script in application_top.php to check if the cookie is allowed in web browser. If not, the application can give some warning message. If we make session id as the url parameters to support the web browser which forbids cookie, it will make the url not be SEO friendly. Thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 11, 2011 Share Posted June 11, 2011 I can't figure out what your question is. But, as far as I know, the code works fine as it is. Almost any problem with the session ID is due to an incorrectly setup configure file and/or sessions setting in admin. You shouldn't be using force cookies, assuming that is what you are doing, but even if you do, a page should display if cookies is not enabled in the visitors browser. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.