|
Rank: Newbie Groups: Member
Joined: 7/25/2018 Posts: 2
|
Hi, I'm using the Essential object trial to see if it meets my needs but right now I can't make persistent sessions, I need that my user doesn't have to reconnect everytime they open our software. Is it because I'm still using the test version? If yes, which licence do I need to get persistant sessions?
I'm mainly using the "EO.WebBrowser for .NET"
Thank you in advance.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
This does not have to do with trial version. The most common cases where persistent session does not work are:
1. Your website does not support/implement persistent session. Try to load your website using a regular browser, log out, then log in again, then restart the browser and see if it keeps the session. You can also try using our TabbedBrowser sample application to repeat the same steps and see if it works. If that does not work, then the issue is on your website side and you will need to resolve that first;
2. You have code that either explicitly or implicitly changed/cleared EO.WebBrowser's cache path. By default, EO.WebBrowser's cache path is in your current user's temp directory, and it maintain a separate cache path for each Engine instance (which means if you have a multiple instances of your application running at the same time, or having a single instance but having multiple AppDomains, then they will have different cache path). Sessions are not shared between different cache path. So if that's the problem, you need to make sure they always uses the same cache path;
Please let us know if this resolves the issue for you.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/25/2018 Posts: 2
|
Thanks for the quick response,
1. The website is a local website for the business and it does keep us logged in.
2.My code is really light, some buttons to do a navigation bar, change the title for the website title,a newWindow handler and setting the language to french. I tried changing the cache path but i remove it when it didn't work.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Does it work with our TabbedBrowser sample application?
|
|
Rank: Newbie Groups: Member
Joined: 7/25/2018 Posts: 2
|
It does not work with the TabbedBrowser. It's a redmine server in fact. I'm not sure but could it be because it doesn't save cache on local server?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, We are not sure what to tell you in that case. TabbedBrowser should work exactly as Google Chrome with the only noticeable difference as the cache folder's location (which stores cookies and would presumably is what the login is based on). What your web server runs should not matter in this case. The only thing we can try is for you to give us access of your server and we will try to log in from here. That will allow us to trace/debug the traffic and hopefully it will reveal what's wrong. You can also do this on your end with either of the following two methods: 1. Use a traffic monitor (such as Fiddler) to compare the traffic between a regular browser and EO.WebBrowser and see if you can find out what triggered the login request; 2. Use Chromium's built-in debugger to see if you can find any clues. See here for more information on how to use the built-in debugger feature: https://www.essentialobjects.com/doc/webbrowser/advanced/debug.aspxThanks
|
|