运行之间用户ID发生变化..... [英] User ID changes between runs.....

查看:79
本文介绍了运行之间用户ID发生变化.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序使用了上次用户使用的时间,并且比我们的应用程序对其他用户的使用时间长,因此我们算出该用户不是1,而no的增量是上次用户关闭该代码的时间以及如何使用
就像我们的用户的上一个no是50.该用户关闭该应用程序,因此我们的应用程序结束,然后第二天其他用户打开该应用程序,该用户的no是51.不是1,请提供代码.

[edit]主题已缩短:不要在主题中问完整的问题,而要在身体中问! -OriginalGriff [/edit]

our application use last user use and that close and than after our application use to other user that time we count that user is not 1 but increment of that no is when last time user is close that code and how to use
like our user last no is 50. and that user close the application so our application is end and then next day other user open that application that user no is 51. not a 1 so please given code.

[edit]Subject shortened: don''t ask the complete question in the subject, ask it in the body! - OriginalGriff[/edit]

推荐答案

您需要将此值(应用程序打开计数)保存在某个地方(设置文件或数据库中).
You need to save this value (application open count) somewhere (either in a settings file or the database).


这篇关于运行之间用户ID发生变化.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆