How To Get Session Value in Static Method

We can not be use the Session object in static method so to its problem while reading the session value in static method ,to overcome this problem we need to read session value like as shown in following code snippet: 


I hope this code snippet is useful ,if you have any suggestion regarding this article then please contact me.

Post a Comment

Protected by Copyscape Online Copyright Protection
Copyright © Compile Mode