I have a lot of difficulties when I work on the "attach ()" function.
I work in a social network where users will browse pages and at the same time keep in touch chat. I don’t want to reconnect / re-login on every page, so this link http://groups.google.com/group/strophe/browse_thread/thread/430da5e788278f3a/93c48c88164f382f?show_docid=93c48c88164f382f&fwc=1 , I store SID and RID and IID in cookie onunload.
On the next page, when I try to use the new SID and RID (after increasing by 1) my session is already destroyed. Ejabberd reports "Error in the HTTP message. Reason: bad_key"
WTF going on?
I managed to solve the problem.
Elimination doubled between page loads. Increasing it only after the session application starts working.
I don’t know why the session was canceled, but here is what happened:
Any clues?
ejabberd Firebug . RID cookie? ejabberd - , , RID? RID ? ?
: BOSH. SID RID . , . , RID . RID RID, . (RID, RID + 5).
Source: https://habr.com/ru/post/1740638/More articles:Можно ли опросить GetKeyboardState() в качестве замены для глобальной клавиатуры? - c#What is the best way to create a wizard for the web? - jqueryWinforms Role Based Security Limitations - c #Limit WebClient DownloadFile Максимальный размер файла - httpIE not starting a session from iframe? - internet-explorerUnknown reason for code executing the way it works in python - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1740640/jquery-slider-not-visible-after-container-div-is-toggled&usg=ALkJrhi0u3L-j97WYQ1UsMrZ6Lgm5vgDnQImplementing a Qt file with another file system library (boost) - boostHadoop job status tracking via web interface? (Providing Hadoop to internal customers in the company) - hadoopScrolling dynamically to the end of the page. - jqueryAll Articles