mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 1668|reply: 15
打印 prevThread nextThread

session存储问题

[copyURL]

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
jumpTo
owner
poston 2020-6-23 21:58 | authorOnly 回帖奖励 |viewing |阅读模式
自己开发的一个页面,然后登陆成功了,点击一个跳转就去其他页面了,那session就被注销了,怎么才能把session存储起来,其他页面也用呢。我现在是静态H5的那种页面。
reply

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
16#
 Owner| poston 2020-6-24 11:08 | authorOnly
lihui2006 post on2020-6-24 10:58
是啊,有参照系,余下就是你要仔细看代码,认真调试,问我们也没用啦。要靠自己啦,程序员嘛,靠自己才是王 ...

哈哈哈哈哈哈,加油,加油,领导追你屁股后面催,哈哈。
reply agree Against

使用道具 report

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
15#
poston 2020-6-24 10:58 | authorOnly
是啊,有参照系,余下就是你要仔细看代码,认真调试,问我们也没用啦。要靠自己啦,程序员嘛,靠自己才是王道,+U,你会成长的。
reply agree Against

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
14#
 Owner| poston 2020-6-24 10:56 | authorOnly
lihui2006 post on2020-6-24 10:49
我感觉您还是需要多熟悉下,初次接触一套新的软件,是需要一些时间来看DEMO代码,看文档熟悉的。

呜呜,视频在你们html可以打开,在我h5j就解析错误,咋回事奥
reply agree Against

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
13#
 Owner| poston 2020-6-24 10:51 | authorOnly
xurui post on2020-6-24 10:34
你的设备是不是不在线,只能获取到在线的设备通道

在线的呢,我是进入页面自动登录,然后自动打开视频的,我感觉还是登录和这个的顺序问题,我换成用按钮打开视频就可以,然后打开视频以后报错,说不能解析这种格式的:VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported.
reply agree Against

使用道具 report

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
12#
poston 2020-6-24 10:49 | authorOnly
我感觉您还是需要多熟悉下,初次接触一套新的软件,是需要一些时间来看DEMO代码,看文档熟悉的。
reply agree Against

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
11#
 Owner| poston 2020-6-24 10:48 | authorOnly
xurui post on2020-6-24 10:34
你的设备是不是不在线,只能获取到在线的设备通道

在线了,我刚才是直接进入页面就开始打开页面,不是按钮,我换成按钮就可以打开,还是登录的顺序问题我感觉,但是打开以后页面 显示不支持这个类型报错:video.min.js:18 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported. d {code: 4, message: "The media could not be loaded, either because the …rk failed or because the format is not supported."}
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
10#
poston 2020-6-24 10:34 | authorOnly
你的设备是不是不在线,只能获取到在线的设备通道
reply agree Against

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
9#
 Owner| poston 2020-6-24 10:08 | authorOnly
bai_315 post on2020-6-24 09:49
是的 我们的demo也是这样的 在跳转到新的页面 需要重新登录

var chanel = session.swGetPuChanel(szPuid, 0); session获取到了,但是执行这步骤,chanel 是null,怎么回事,现在我真是寸步难行呀,哎,设备信息填写正确也
reply agree Against

使用道具 report

12

主题

27

帖子

98

积分

member

Rank: 2

积分
98
8#
 Owner| poston 2020-6-24 09:54 | authorOnly
bai_315 post on2020-6-24 09:49
是的 我们的demo也是这样的 在跳转到新的页面 需要重新登录

好的,谢谢你
reply agree Against

使用道具 report

QQ|wireless surveillance

GMT+8, 2024-5-17 10:01 , Processed in 0.069331 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList