Form authentication with static variable
-
Hi friends, Please help me as i m very confused as per my knowledge static variable always reamin same for all users but recently i joind one compny where i found that they have taken one static class with static members and stored that static class in session [Here Authentication is form authentication] & Now as per website reviews and results till now there is no issue with static class and members so pls do the needful help. Please let me know should i hav to remove static class storing in session or i should continue with that solution . pleasee tell meee
Reasons are not Important but Results are Important. http://www.sql4professional.blogspot.com Swati Tripathi
-
Hi friends, Please help me as i m very confused as per my knowledge static variable always reamin same for all users but recently i joind one compny where i found that they have taken one static class with static members and stored that static class in session [Here Authentication is form authentication] & Now as per website reviews and results till now there is no issue with static class and members so pls do the needful help. Please let me know should i hav to remove static class storing in session or i should continue with that solution . pleasee tell meee
Reasons are not Important but Results are Important. http://www.sql4professional.blogspot.com Swati Tripathi
It is not necessary to remove static class. The important thing is what values are stored in static class? We can decide from the values stored inside the static class, that whether we can keep it or remove it. HTH
Jinal Desai - LIVE Experience is mother of sage....