Quantcast
Channel: Session Object and Class for Storing Session Data
Browsing latest articles
Browse All 11 View Live

Re: Session Object and Class for Storing Session Data

So even using Users cUsr=new Users(); doesn't work ?Beyond intellisense does it compile fine ? I'm trying to understand for example if you have a namespace issue or if this is misplacement or if this...

View Article



Re: Session Object and Class for Storing Session Data

Hi PatriceSc,Thanks for replying,I do agree with that, here is it all:I am using,Users cUsr=new Users();the using class was just an example, i am not that well aquanted with Profiles, and the state i...

View Article

Re: Session Object and Class for Storing Session Data

What if you use Users obj=new Users(); ?Your class is named "Users", rather than "Class"...Also it's always best to give an idea of your overall goal. Here it's seems the kind of information you'll...

View Article

Re: Session Object and Class for Storing Session Data

hi Sumit,for achieving the same thing, i creted the following class:using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace CollaboratorBAL { [Serializable()]...

View Article

Re: Session Object and Class for Storing Session Data

Thanks Sumit,that shall help,-Sumeet.

View Article


Re: Session Object and Class for Storing Session Data

your example woul be like this[Serialize]class myclass{fields & methods}on your webformmyclass objmyclass=new objmyclass();set the fieldsand now move to sessionsession["myclass"]=objmyclass;now...

View Article

Re: Session Object and Class for Storing Session Data

Hi,If you use basic types it shouldn't be a problem.  See http://msdn.microsoft.com/en-us/library/ms973893.aspx What happens if you just try ?You still may want to give some details about this class....

View Article

Re: Session Object and Class for Storing Session Data

Hi there, i read about the Claims but currently i just need to add to the session a bundled package as i dont want to have a lot of changes in the existing functionalities,So what is need is just a way...

View Article


Re: Session Object and Class for Storing Session Data

Claims is the modern way to model identity:http://brockallen.com/2013/01/26/replacing-forms-authentication-with-wifs-session-authentication-module-sam-to-enable-claims-aware-identity/

View Article


Re: Session Object and Class for Storing Session Data

Yes you can go with this way. but your class should be serializable.  in case you will move your session state management to out proc than it will help to fix the issues.

View Article

Session Object and Class for Storing Session Data

Hi there,In the application i am working, User data flows through sesion variables which are manipulated at multiple places.All the login details and User details are there in the session.I wish to...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images