<cite>alper: </cite> Is it being complied successfully?
Yes. I receive no build errors.
<cite>alper: </cite> Are you publishing it to cloud or on-premise IIS?
I am publishing on on-premise IIS.
If you use IIS, are you adding it as a new website or adding it under "Default Web Site"?
I am adding a new website.
Did you run CODE: SELECT ALL npm run create-bundles command? <a class="postlink" href="https://aspnetzero.com/Documents/Getting-Started-Core">https://aspnetzero.com/Documents/Getting-Started-Core</a>
Why do I need to run this command? Also, I am not using a Core project. It is MVC + jQuery
Here it is-
public const string Version = "5.4.0.0";
When I see properties of Abp.Zero reference, it shows Version 3.6.1.0
<cite>aaron: </cite> 30 minutes is the default timespan for the cookie to be rechecked against the security stamp for the user. If you are using ASP.NET Core, then see the answer in Why doesn't cookie ExpireTimeSpan setting work?
I am still stuck on this. Changing ExpireTimeSpan does not have any affect. Can you please help me resolving this issue?
I'm using ASPNET MVC (not core) with jQuery. Can you please help with this?
Yes it is.
<cite>hikalkan: </cite> Hi,
Nothing wrong with using ASP.NET's Session. This may be a problem only if you have a web farm instead of a single server. Even in that case, you can use a distributed session adapter.
Since we don't use ASP.NET's Session, changing it's value does not effect user login's timeout. Instead, you should set Cookie auth timeout. It's configuration is defined here: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/App_Start/Startup.cs#L40">https://github.com/aspnetzero/aspnet-ze ... tup.cs#L40</a> You can change it like:
app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie, LoginPath = new PathString("/Account/Login"), ExpireTimeSpan = TimeSpan.FromMinutes(2) });
Even if I add ExpireTimeSpan, it has no affect on user logout. I've set time span to 1 minute and even after 5 min if I navigate to some other page, it works perfectly and does not logout user. For this 5 min, I didn't do anything on website, it was idle. How can I logout a user after expiry time?
I was able to resolved it!
My issue was that, I was using multiple "out parameters" in the AppService method. Removing those parameters and using class as a parameter instead resolved the issue.
<cite>ismcagdas: </cite> Hi,
Can you check the result of "AbpServiceProxies/GetAll" request in your browser's network tab ? It should return ABP service proxy scripts.
Thanks.
What if it does not return anything? In my case I get nothing in response.
Thanks
Hi @ismcagdas,
Is there any update on this now? Have you guys started on it?