|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
With the lastest version of EO.Web.dll and EO.WebBrowser.dll i have the following problem: my .net web application receive continuously the Session_Start invocation in the Global.asax when i try to access the site with my browser (developed with EO libs). If i use previous version of EO libraries everything works fine! What happend ????
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
When you use EO.WebBrowser.dll, do you send additional cookies to your web server?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
No. And i want to underline that if i use previous version of the libraries everything works correctly how other browsers (Chrome included).
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, Session_Start event will be triggered if the session cookie is missing. The way it supposes to work is, the first time a browser (or an EO.WebBrowser.WebView object) hit your web server, your server triggers Session_Start and also pass a session cookie back to the browser. The browser would save it and then when you access the page again, that cookie is attached to the request. If for some reason that cookie is missing then your Session_Start will be called again. I understand that the previous version works but the current version doesn't, we do not know why either. So if you can isolate the problem into a test project and sends us the test project, we will be more than happy to take a look. Usually as soon as we can reproduce the problem here, we will be able to find out the root cause. You can take a look of the test project guidelines here: http://www.essentialobjects.com/forum/postst8144_Test-project-guidelines.aspxPlease let us know once you have the test project and we will let you know where to send it. Thanks
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
It's really hard for me to give you an example because i'm using an external framework which works only with license. What i discover is that if a put cookieless="true" parameter in web.config everything works fine (but obviously i lose cookies). So i think that something in your library was changed around this functionality.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please check your EO.WebBrowser.dll version. If it is older than 3.0.56 then you can update to the current version. We did fix an issue related to cookies recently. So the new build MIGHT resolve the issue for you.
If that still does not resolve the problem, we would need a test app in order to investigate further. Please keep in mind we need a test app, not your project. You will need to isolate the problem and remove everything that is unrelated to the problem. So any external framework/third party library that you are using would need to be removed. That way we can run and debug it here.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
I tried with 3.0.56.0 but doesn't works. My project works with 3.0.50.0 and before. What i mean with an external framework is that if i create a sample project you need to install extra components which will be integrated in Visual Studio. Otherwise you can't test anything.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You will need to remove that unless there is absolutely no way to reproduce the problem without those extra components ---- in that case it might indicate that the root of the problem is inside those component. We would like to avoid such scenario as much as possible because not only we do not have the source code of those components, but unless the vendor of those components is willing to work with us, we might get into a finger pointing match with them. This won't help us to resolve the issue for you. In your case, if the problem is just related to cookies, then it really shouldn't be required to have those extra components.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
I create an example to reproduce the problem. Where i can send the zip file? I can't find any email address. Anyway i find that every client to server call made with yours EO.WebBrowser rise a Session_Start event. Other browsers don't have this behaviour. It seems sessionless.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have replied you through private message. You can click "inbox" at the top of the forum to view the messages.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Thank you very much for your test project. We have found the problem and posted a new build. You can download the new build from our download page. Please take a look and let us know how it goes.
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
Thank's! Now it works!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great. Thanks for confirming the fix!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
I'm really sorry to say that now there is another problem: with latest release cookies are no more maintained. So if i save my login credentials will not appear in next login session.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
I am sorry for the problem. We have noticed that problem and posted an update early today. Please download the new build from our download page again.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
I tried the latest version, but still doesn't work!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, Please check your EO.WebBrowser.dll version. In the latest build the version is 3.0.59. If you have the latest version and the problem still occurs, please try to create a test project and send the test project us. We will investigate further once we receive that. See here for more information on how to send us a test project: http://essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 4/12/2014 Posts: 15
|
Sorry, i found the problem! It's my mistake, i left a comment on Runtime.CachePath = OptionForm.GetCachePath(); instruction during previous tests. After removing comment, everything works again. Thank's
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great. Glad to hear that you found the problem. Please feel free to let us know if there is anything else.
|
|