1
vote
2answers
51 views

How can I get the session object from the layoutfile in ServiceStack?

From all the other pages I can get hold of the Session object with this code: @{ var user = Request.GetSession(); } Authenticated: @user.IsAuthenticated When I try to get the session from ...
2
votes
0answers
55 views

with servicestack how can i prevent cookies being added to the response?

I can remove the cookies after the fact, with this: public override void Configure(Funq.Container container) { ResponseFilters.Add((req, res, dto) => { ...
2
votes
1answer
35 views

Isolating/Accessing set session information within custom validator, servicestack API

I was wondering the best way of accessing the a user's AuthSession from within a custom validator we have hooked up via the servicestack's fluent-validation API hooks. Basically, the requirements ...
1
vote
1answer
62 views

What's the best way to detect the start of a session (similar to Global.ashx's Session_Start) when using ServiceStack SessionFeature?

I've enabled Sessions support in service stack like: container.Register<IRedisClientsManager>(c => container.Resolve<PooledRedisClientManager>()); ...
2
votes
1answer
118 views

ServiceStack: Accessing the HttpRequest in a selfhosted application

I currently have an IIS hosted application that I would like to switch over to use the self-hosted method. But I'm having difficulty accessing the session so I can retrieve the current users ...
1
vote
1answer
90 views

ServiceStack Caching/Session lock

I'm using ServiceStack's session feature (that's using memory caching), and I try to access a key in the session object, modify it and then save the session: var filesList = ...
1
vote
1answer
100 views

multiple ICacheClient implementations with ServiceStack

I'm just starting to read about ServiceStack's session and caching mechanisms so I could be missing something. Is there a way to use multiple ICacheClient implementations with ServiceStack? According ...
1
vote
1answer
84 views

Session not saved in ServiceStack

I want to use the session feature but without athentication. I already added Plugins.Add(new SessionFeature()) to AppHost.cs and I have the following code public class CustomService : Service { ...
1
vote
1answer
371 views

Clarification / Examples on ServiceStack Authentication

I'm trying to get to grips with ServiceStack to build a new mobile product with it. It's slowly coming together but the documentation, although good, is a little brief in parts with no facility for ...
3
votes
1answer
340 views

ServiceStack authentication

I'd like to change servicestack's authentication so that it doesn't rely on the session being persisted. Correct me if I'm wrong but servicestack uses the session to store the remember me settings, ...
2
votes
0answers
42 views

How can I customize ServiceStack SessionFeature?

The question is closely related with How can we remove specific user's session in ServiceStack? SessionFeature is embedded to ServiceStack framework.. Using my own SessionFactory also does not ...
1
vote
1answer
343 views

Can I use ServiceStack's ISession in a ASP.NET hosted IHttpHandler and existing ASP.NET page?

I'm in the process of migrating my app over to ServiceStack, and have registered up the existing MVC3 Controllers using ServiceStackController, as outlined by How can I use a standard ASP.NET session ...
1
vote
1answer
118 views

ServiceStack.net Session End Event or Callback?

I'm using ServiceStack.Net with authentication and am using a custom session, all working great. I'd like to know if there is an event or callback, override or any other mechanism to know when a ...
2
votes
1answer
295 views

How do I get servicestack session available on all my views?

I'm currently building an mvc3 w/ servicestack web app. I'm using servicestack credentials authentification and using servicestack sessions. I'm already aware that I can access the session in the ...
1
vote
1answer
354 views

I'm missing something in the Servicestack session documentation

In the ServiceStack session documentation here: https://github.com/ServiceStack/ServiceStack/wiki/Sessions there is some example code that defines a UserSession property. I expected that the setter ...

1 2
15 30 50 per page