發(fā)表日期:2019-09 文章編輯:小燈 瀏覽次數(shù):3188
登錄是使用member->login的函數(shù)來實(shí)現(xiàn)的login.inc.php
代碼在login.inc.php這個(gè)文件中
?
?
?
?
?
?
在這里說明一下cookie是有前綴的,所以推薦使用系統(tǒng)帶的取得cookie的函數(shù) get_cookie
?
?
系統(tǒng)中原自帶的處理判斷用戶是否登錄是使用的以下函數(shù),在footer.htm中
show_task('{$taomodi_task}');
經(jīng)過編譯后會(huì)轉(zhuǎn)化成
<script type="text/Javascript">
show_task('moduleid=1&html=index');
</script>
show_task函數(shù)在page.js中實(shí)現(xiàn),有興趣的話,可以看一下,返回的是一段js代碼,js模板在template/chip/line.htm中
--結(jié)束END--
有問題投稿請(qǐng)發(fā)送至: 郵箱/kf@dtmuban.com??? QQ/290948585
本文標(biāo)題: destoon 的登錄過程,如何使用cookie來判斷用戶是否登錄
本文鏈接: https://www.dtmuban.com/course/374.html? (轉(zhuǎn)載時(shí)請(qǐng)保留)
閱讀更多日期:2019-09 瀏覽次數(shù):3191
日期:2019-09 瀏覽次數(shù):3099
日期:2019-09 瀏覽次數(shù):3225
日期:2019-09 瀏覽次數(shù):3501
日期:2019-09 瀏覽次數(shù):3121
日期:2019-09 瀏覽次數(shù):2934
日期:2019-09 瀏覽次數(shù):3052
日期:2019-09 瀏覽次數(shù):2970
日期:2019-09 瀏覽次數(shù):3095
日期:2019-09 瀏覽次數(shù):2976
日期:2019-09 瀏覽次數(shù):3187
日期:2019-09 瀏覽次數(shù):3519
日期:2019-09 瀏覽次數(shù):3077
日期:2019-09 瀏覽次數(shù):2977
日期:2019-09 瀏覽次數(shù):2928
日期:2019-09 瀏覽次數(shù):2953
日期:2019-09 瀏覽次數(shù):3185
日期:2019-09 瀏覽次數(shù):3404
日期:2019-09 瀏覽次數(shù):3315
日期:2019-09 瀏覽次數(shù):3034
日期:2019-09 瀏覽次數(shù):3054
日期:2019-09 瀏覽次數(shù):3241
日期:2019-09 瀏覽次數(shù):2977
日期:2019-09 瀏覽次數(shù):3228
日期:2019-09 瀏覽次數(shù):3110
日期:2019-09 瀏覽次數(shù):3242
日期:2019-09 瀏覽次數(shù):3090
日期:2019-09 瀏覽次數(shù):3058
日期:2019-09 瀏覽次數(shù):3043
日期:2019-09 瀏覽次數(shù):3167
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.