B4X FEED java.lang.RuntimeException: Object should first be initialized (HttpSession).

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: java.lang.RuntimeException: Object should first be initialized (HttpSession). است. این موضوع تا کنون 38 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع java.lang.RuntimeException: Object should first be initialized (HttpSession).
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
38
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I tried today for the first time to use a session object in websocket and I keep getting this error:

java.lang.RuntimeException: Object should first be initialized (HttpSession).
Click to expand...

I searched the forum and found the solutions in:

[H3] [/H3]
Starting from B4J v9.80 this library is included as an internal library. Old library: This is a new version of jServer. It is based on Jetty 11.0.9. Previous versions were based on an early version of Jetty 9. There were many improvements...
برای دیدن تصاویر باید ثبت نام کنید


and in

[H3] [/H3]
Hi i have problems with sessions variables with safari after upgrade to version 4. it seems that browser lose values. Chrome and firefox works correctly. In safari i have the accept cookies and data from all sites active. can anyone help me?
برای دیدن تصاویر باید ثبت نام کنید


I implemented them but I keep getting this error.

I even tried a handler which is called at runtime when the websocket is connected (hidloc is a hidden control which gets the window.location; ) with this code (the handler Handle sub is the same as the filter's sub):

B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید

I also have...



 

عقب
بالا