Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /d/web/wudimei.com/www/W/M/Lang.php on line 5

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /d/web/wudimei.com/www/W/M/Lang.php on line 5
session_id of zencart 无敌美 www.wudimei.com

php程序员业余承接网页制作、软件开发。

有需要请联系13714715608

看看案例...

session_id of zencart

2013-12-30 11:27:44 Yang Qing-rong

if you have defined the "SESSION_RECREATE", zencart will reset the session_id after customer logined.after logout,it also recreate the session_id.

 

if you want to get a static session_id before login and after login without consider the "SESSION_RECREATE",append codes to application_top.php


if(!isset( $_SESSION["MySessionId"] ) )
{
    $_SESSION["MySessionId"]  = md5(microtime(true));
}

after session recreated,the value of $_SESSION["MySessionId"] will no changed

Get in touch

We'd love to hear from you

CAPTCHA
Form submission successful!
To activate this form, sign up at
https://startbootstrap.com/solution/contact-forms
Error sending message!