Session for portal user of type RFC are not getting killed even ifuserlogof
I have a question on the number of sessions that are generated in R/3 when a user is active on the portal. If I watch my user is transaction SM04, I see many sessions are being created and when logging of, some don't get closed. I always used the correct way of logging off
how can i ensure after a user log off from portal all of the corresponding session which are visible in SM04 of type RFC will be killed .
Paul Tomlinson replied
They are correct. In fact with webdynpro generally two RFCs are made, one for data and one for metadata.
The DSM should handle closing any sessions.
Don't forget the parameter sessionexpirationperiod on the security provider too, this closes sessions on the java engine, so will probably close it on the ABAP side too.