Activities of "maliming"

hi

Now the cookies are valid within 1 hour.

Click the Remember me

The cookies are session. It is deleted after I quit the Chrome browser(end process). I opened the URL again the cookies disappeared.

hi

https://support.abp.io/QA/Questions/5231#answer-3a0bd55f-37b2-1f28-914f-7b52bbf16f87

If you publish your site with custom lifetime configuration, I will check it online.

hi

Can you share your logs.txt with me?

liming.ma@volosoft.com

hi

I will confirm that. Thanks.

Your question credit was refunded.

The identity cookie's name is Identity.Application. If this cookie doesn't exist. Your login state will be invalid.

hi @ed_developer3

You have API and angular websites.

API use cookies and angular use access token.

You can control the cookies by ConfigureApplicationCookie.

  1. Set remember me the cookies will be valid for 14 days by default. You can change the time by ConfigureApplicationCookie
  2. UnSet remember me the cookies is session will be invalid after close the browser. The behavior is different in different browsers.

https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-configuration?view=aspnetcore-7.0#cookie-settings

The access token lifetime control by

PreConfigure<OpenIddictServerBuilder>(builder =>
{
    builder
        .SetAccessTokenLifetime(TimeSpan.FromSeconds(120))
        .SetIdentityTokenLifetime(TimeSpan.FromSeconds(365));
});

It will get a new access token after invalid. You can remove the offline_access scope from oAuthConfig to disable the refresh token feature.

hi

I have logged in and close the browser.

Please check the cookies on the browser and make sure its session

You may need to end the browser process instead of close tabs.

hi

Hello, I don’t get the point for remember me, the functionality works like this if the user checks the remember me then he/she don’t need to authenticate for every time he/she revisits the page for default time it was set. And if he/she don’t check then, the user needs to authenticate again. This is what I am doing but its not happening. Any suggestions from your side. Thank you.

If you didn't select the remember me the login state is session if will be invalid after you close the browser.

https://www.cookiepro.com/knowledge/what-is-a-session-cookie/

Select the remember me the cookies will be valid in ExpireTimeSpan even if you close the browser.

garbled characters are displayed when the user role is configured.

Please try this

Configure<WebEncoderOptions>(options =>
{
    options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.BasicLatin, UnicodeRanges.CjkUnifiedIdeographs);
});
Showing 6811 to 6820 of 11556 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.