开发者

declaring your own session instead of session maintained by codeigniter

Is there any way to define your own session instead of session mainta开发者_如何学运维ined by codeigniter ?


$_SESSION['my_session_variable'] = 'this is my session variable content';

You'd use session this way if you want to.


You could use a native session variable as Thorpe showed, but using the native session library gives you a nice codeigniter-esque interface to work with sessions including flash data and so on.

http://codeigniter.com/wiki/Native_session/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜