locked
Session Variable in WCF Ria Services RRS feed

  • Question

  • Hello,

    Friends of developers forum, which desire is to create something like a session variable in WCF Ria Services.

    When the user logs in my Silverlight application it will select the company (Mult-Tenant) that he wants to work and after that the server knows that all the filters it should do the filtering company that he selected at login, I have the option to customize the authentication class, but would like to see what other options I have. If it were a normal ASP.NET application could use the sentence (Session ["EmpresaID"] to int). I appreciate if someone able to help me.

     

    Thanks.

    Monday, April 19, 2010 7:48 AM

Answers

  • WCF RIA Services runs under the asp.net compatability mode, which means it is a normal ASP.NET applications. You should be able to access the session.

    Monday, April 19, 2010 8:12 AM

All replies

  • WCF RIA Services runs under the asp.net compatability mode, which means it is a normal ASP.NET applications. You should be able to access the session.

    Monday, April 19, 2010 8:12 AM
  • Even if my application is in OutOfBrowser ?

    Monday, April 19, 2010 8:21 AM
  • Your application is OutOfBrowser, but the server isn't.

    Monday, April 19, 2010 8:28 AM
  • Ok. Thanks !

    Monday, April 19, 2010 8:32 AM