I have used some session variable in my project which are giving some serialization error after i enabled `spsessionstate`. Do we have any alternatives for sessions in sharePoint? I tried changing sessions to viewstate but the problem still persists as whatever we are using in sessions/viewstate has to be serializable.

Please help