發(fā)表日期:2019-09 文章編輯:小燈 瀏覽次數(shù):3127
登錄是使用member->login的函數(shù)來實現(xiàn)的login.inc.php
代碼在login.inc.php這個文件中
?
?
?
?
?
?
在這里說明一下cookie是有前綴的,所以推薦使用系統(tǒng)帶的取得cookie的函數(shù) get_cookie
?
?
系統(tǒng)中原自帶的處理判斷用戶是否登錄是使用的以下函數(shù),在footer.htm中
show_task('{$taomodi_task}');
經(jīng)過編譯后會轉(zhuǎn)化成
<script type="text/Javascript">
show_task('moduleid=1&html=index');
</script>
show_task函數(shù)在page.js中實現(xiàn),有興趣的話,可以看一下,返回的是一段js代碼,js模板在template/chip/line.htm中
--結(jié)束END--
有問題投稿請發(fā)送至: 郵箱/kf@dtmuban.com??? QQ/290948585
本文標(biāo)題: destoon 的登錄過程,如何使用cookie來判斷用戶是否登錄
本文鏈接: https://www.dtmuban.com/course/374.html? (轉(zhuǎn)載時請保留)
閱讀更多日期:2019-09 瀏覽次數(shù):3149
日期:2019-09 瀏覽次數(shù):3055
日期:2019-09 瀏覽次數(shù):3164
日期:2019-09 瀏覽次數(shù):3447
日期:2019-09 瀏覽次數(shù):3063
日期:2019-09 瀏覽次數(shù):2875
日期:2019-09 瀏覽次數(shù):3000
日期:2019-09 瀏覽次數(shù):2931
日期:2019-09 瀏覽次數(shù):3054
日期:2019-09 瀏覽次數(shù):2935
日期:2019-09 瀏覽次數(shù):3126
日期:2019-09 瀏覽次數(shù):3464
日期:2019-09 瀏覽次數(shù):3036
日期:2019-09 瀏覽次數(shù):2930
日期:2019-09 瀏覽次數(shù):2873
日期:2019-09 瀏覽次數(shù):2902
日期:2019-09 瀏覽次數(shù):3133
日期:2019-09 瀏覽次數(shù):3342
日期:2019-09 瀏覽次數(shù):3257
日期:2019-09 瀏覽次數(shù):2986
日期:2019-09 瀏覽次數(shù):2996
日期:2019-09 瀏覽次數(shù):3185
日期:2019-09 瀏覽次數(shù):2933
日期:2019-09 瀏覽次數(shù):3177
日期:2019-09 瀏覽次數(shù):3059
日期:2019-09 瀏覽次數(shù):3196
日期:2019-09 瀏覽次數(shù):3042
日期:2019-09 瀏覽次數(shù):3010
日期:2019-09 瀏覽次數(shù):2996
日期:2019-09 瀏覽次數(shù):3106
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.