Progold S.p.A.
asked on
Vb.Net User.IsAuthenticated return false even if authenticated
Hi,
I've got two application in vb.net: One with a form for authentication (App A) and one wich require authentication (App B) to access it
Everything works fine, but it happens this when the session is outdated (ex. i leave App B opened on a page) :
-> i trigger whatever control on the opened App B
->This cause a page load that, checking for login with My.User.IsAuthenticated, redirect me to App A
-> App A ask me to login, and from the logged in menu i select to access App B
-> On PageLoad, App B chek again for My.User.IsAuthenticated which return false, even if i logged on App A
So i cannot access App B anymore if i don't clear the cache
This happens when the session is outdated, but not if i login/logoff manually
Is there some settings App User that i should check?
I've got two application in vb.net: One with a form for authentication (App A) and one wich require authentication (App B) to access it
Everything works fine, but it happens this when the session is outdated (ex. i leave App B opened on a page) :
-> i trigger whatever control on the opened App B
->This cause a page load that, checking for login with My.User.IsAuthenticated, redirect me to App A
-> App A ask me to login, and from the logged in menu i select to access App B
-> On PageLoad, App B chek again for My.User.IsAuthenticated which return false, even if i logged on App A
So i cannot access App B anymore if i don't clear the cache
This happens when the session is outdated, but not if i login/logoff manually
Is there some settings App User that i should check?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
I am here to help you with your open question. Do you still need help? I have the ability to alert more experts if you still need help.
If you solved the problem on your own, would you please post the solution here in case others have the same problem?
If you need me to delete this question just say "Delete."
Thank you for using Experts Exchange.
Regards,
Kyle Santos
Customer Relations