($sid) { session_delete(array('sid' => $sid)); session_data_delete(array('sid' => $sid)); return TRUE; } function sess_gc($maxlifetime) { global $time; $expiry = $time - $maxlifetime; $arrlist = session_find(array('last_date' => array('<' => $expiry)), array(), 1, 10000, '', array('sid', 'bigdata', 'last_date')); if (!$arrlist) return TRUE; $expiry = $time - 21600; // 超6小时未提交丢弃上传图片和附件 $sidarr = array(); foreach ($arrlist as $val) { if ($val['last_date'] > $expiry && $val['bigdata']) continue; $sidarr[] = $val['sid']; } if (empty($sidarr)) return TRUE; session_delete(array('sid' => $sidarr)); session_data_delete(array('sid' => $sidarr)); return TRUE; } function sess_start() { global $conf, $sid, $g_session; ini_set('session.name', $conf['cookie_pre'] . 'sid'); ini_set('session.use_cookies', TRUE); ini_set('session.use_only_cookies', TRUE); ini_set('session.cookie_domain', $conf['cookie_domain']); // 为空则表示当前目录和子目录 ini_set('session.cookie_path', $conf['cookie_path']); // 打开后只有通过 https 才有效 ini_set('session.cookie_secure', FALSE); ini_set('session.cookie_lifetime', 8640000); // 打开后 js 获取不到 HTTP 设置的 cookie, 有效防止 XSS,对于安全很重要,除非有 BUG,否则不要关闭。 ini_set('session.cookie_httponly', TRUE); // 活动时间 ini_set('session.gc_maxlifetime', $conf['online_hold_time']); // 垃圾回收概率 = gc_probability/gc_divisor ini_set('session.gc_probability', 1); // 垃圾回收时间 5 秒,在线人数 * 10 / 每1000个请求回收一次垃圾 ini_set('session.gc_divisor', 1000); session_set_save_handler('sess_open', 'sess_close', 'sess_read', 'sess_write', 'sess_destroy', 'sess_gc'); // register_shutdown_function 会丢失当前目录,需要 chdir(APP_PATH) $conf['url_rewrite_on'] > 1 and function_exists('chdir') and chdir(APP_PATH); // 这个必须有,否则 ZEND 会提前释放 $db 资源 register_shutdown_function('session_write_close'); session_start(); $sid = session_id(); return $sid; } // 刷新页面清理附件缓存 废弃 function sess_clear_attach() { global $sid, $time; $arr = session_read($sid); if (!$arr || 0 == $arr['bigdata']) return TRUE; session_update($sid, array('bigdata' => 0, 'last_date' => $time)); session_data_delete(array('sid' => $sid)); return TRUE; } function online_count() { return session_count(); } function online_list_cache() { static $cache = array(); $key = 'online_list'; if (isset($cache[$key])) return $cache[$key]; $cache[$key] = cache_get($key); if (NULL === $cache[$key]) { $cache[$key] = session_find(array('uid' => array('>' => 0)), array('last_date' => -1), 1, 1000); foreach ($cache[$key] as &$online) { $user = user_read_cache($online['uid']); $online['username'] = $user['username']; $online['gid'] = $user['gid']; $online['ip_fmt'] = safe_long2ip($online['ip']); $online['last_date_fmt'] = date('Y-n-j H:i', $online['last_date']); } cache_set('online_list', $cache[$key], 300); } return $cache[$key]; } function online_user_list_cache() { static $cache = array(); $key = 'online_user_list'; if (isset($cache[$key])) return $cache[$key]; $cache[$key] = cache_get($key); if (NULL === $cache[$key]) { $cache[$key] = session_find(array('uid' => array('>' => 0)), array(), 1, 1000, 'uid', array('uid')); cache_set('online_user_list', $cache[$key], 300); } return $cache[$key]; } ?>2022计算机类专业大学排名_最好大学排行榜|江阴雨辰互联

2022计算机类专业大学排名_最好大学排行榜

2022计算机类专业大学排名_最好大学排行榜


2024年4月29日发(作者:)

2022计算机类专业大学排名_最好大学排

行榜

2022计算机软件专业排名一览表

序号

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

学校代码

10001

10003

10335

90002

10006

10013

10213

10248

10284

10487

10614

10004

10007

10145

10183

10247

10358

10486

10533

10698

10699

10701

学校名称

北京大学

清华大学

浙江大学

国防科技大学

北京航空航天大学

北京邮电大学

哈尔滨工业大学

上海交通大学

南京大学

华中科技大学

电子科技大学

北京交通大学

北京理工大学

东北大学

吉林大学

同济大学

中国科学技术大学

武汉大学

中南大学

西安交通大学

西北工业大学

西安电子科技大学

评选结果

A+

A+

A+

A+

A

A

A

A

A

A

A

A-

A-

A-

A-

A-

A-

A-

A-

A-

A-

A-

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

90005

10002

10005

10008

10055

10056

10141

10217

10246

10269

10286

10287

10288

10336

10359

10384

10422

10532

10558

10561

10610

10611

10613

10617

90006

10294

10299

10300

10337

10357

10423

10491

10497

解放军信息工程大学

中国人民大学

北京工业大学

北京科技大学

南开大学

天津大学

大连理工大学

哈尔滨工程大学

复旦大学

华东师范大学

东南大学

南京航空航天大学

南京理工大学

杭州电子科技大学

合肥工业大学

厦门大学

山东大学

湖南大学

中山大学

华南理工大学

四川大学

重庆大学

西南交通大学

重庆邮电大学

解放军理工大学

河海大学

江苏大学

南京信息工程大学

浙江工业大学

安徽大学

中国海洋大学

中国地质大学

武汉理工大学

A-

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B+

B

B

B

B

B

B

B

B


发布者:admin,转转请注明出处:http://www.yc00.com/web/1714379966a2435659.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信