Activities of "maliming"

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);
});

hi krapholo

Can you share your project with me?

liming.ma@volosoft.com

I will check it on my local.

hi

Some code(ConfigureApplicationCookie) of your project is not working. Please share your project code with me.

liming.ma@volosoft.com

Thanks, Our angular team will confirm this.

hi

Please try this

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

You can share an online website. I will test it

liming.ma@volosoft.com

hi

Are you using angular for UI? Is your angular UI not logout after 5 minutes?

What's your abp version?

hi

After 1Hour if the user revisits the page then he/she will be asked to login again.

What's this UI?

Does the user revisit on MVC or angular page?

hi

What's your client? MVC or Blazor or Angular?

ConfigureApplicationCookie only works for MVC(AuthServer) side.

hi krapholo

The logs seem to be incomplete.

Please delete Logs.txt first, then run the backend and angular. End the application after reproducing the problem and share Logs.txt.

Try to set log level to Debug.

public class Program
{
    public async static Task<int> Main(string[] args)
    {
        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();
Showing 6801 to 6810 of 11534 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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.