locked
Session refresh in WebPart RRS feed

  • Question

  • Hi,

    I am facing an issue with session managed in SharePoint 2007. I have created a custom web page that has many custom web parts. Code in Web part reads all all group names of the logged in user on the On Click event event of Web part. 

    However, if the logged-in user is removed from a group or added to the group while being logged into MS SharePoint, the change of group membership cannot be read by the code. The code that reads group names continues to read old group only, not the new groups that s/he has been granted membership of.

    I am looking for a workaround to resolve this issue. Any help would be appreciated.

    Tuesday, November 24, 2015 8:07 PM

All replies

  • Are they any caching done in the code where it cached old group membership in the memory (or some where)?

    Direct query Group Members should yield immediate results.


    Cheng

    Wednesday, November 25, 2015 7:09 AM
  • No caching has been done in the Application.
    Wednesday, November 25, 2015 3:29 PM