You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
Then I go to user profile page, with following code:
protected override async Task OnInitializedAsync() { uid = await localStorage.GetItemAsync<int>("uid"); first_name = await localStorage.GetItemAsync<string>("first_name"); user = await Users.loginUser("", "", uid); }
Login with one user, read data, save new user data and try to read it.
Expected behavior
It should get data from localstorage, and as I said, when I run it in Visual Studio it works spot on, when I transfer it to IIS server, doesn't and
Hosting Model (is this issue happening with a certain hosting model?):
Blazor Server
IIS on Windows Server
The text was updated successfully, but these errors were encountered:
Describe the bug
For some reason data isn't over written when app is on IIS, when I run it on my visual studio, works perfect. See below code:
To Reproduce
On one page, this saves my user's data when logged in:
` async Task saveUID()
{
Users user = await Users.loginUser(Username, Password);
`
Then I go to user profile page, with following code:
protected override async Task OnInitializedAsync() { uid = await localStorage.GetItemAsync<int>("uid"); first_name = await localStorage.GetItemAsync<string>("first_name"); user = await Users.loginUser("", "", uid); }
Login with one user, read data, save new user data and try to read it.
Expected behavior
It should get data from localstorage, and as I said, when I run it in Visual Studio it works spot on, when I transfer it to IIS server, doesn't and
Hosting Model (is this issue happening with a certain hosting model?):
The text was updated successfully, but these errors were encountered: