Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Skylark session verification
Re: Skylark session verification [message #53819 is a reply to message #53804] Tue, 05 May 2020 18:27 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 268
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Xemuth,

Xemuth wrote on Sun, 03 May 2020 05:58

http.SessionSet("RIGHT", AsString(us->GetRight())); //Set Right of user
http.SessionSet("USERNAME", us->GetLogin()); //Set username of user


I think you should use only sessionid. And should get username and user rights from server for every request based on sessionid.

Do not set it ( username and rights ) as a part of http session params. This is my suggestion.


Warm Regards

Deepak
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ASyncWork/CoWork Cancel() method leads to deadlock (when used with GuiLock)
Next Topic: AsyncWork, IsFinished() may not be working properly
Goto Forum:
  


Current Time: Sun Jun 08 15:41:26 CEST 2025

Total time taken to generate the page: 0.04159 seconds