cookies don't seem to persist when closing then opening the app

9 views
Skip to first unread message

Doug Daniels

unread,
Dec 1, 2012, 1:45:53 AM12/1/12
to node-...@googlegroups.com
How are cookies and browsing history handled in node-webkit (and CEF)?

I have an application that I want the user to be able to login through Facebook, which works fine, but once they close and re-open the application they have to do it again.

Is there any way to persist cookies, and better yet is there any way to use the cookies from that users native browsers (not sure how massive a security concern that is). I think web/native apps like Rdio do this (probably on Mac using WebViews) and I've heard that Adobe AIR applications that use Webkit also can share that user's browser cookies etc.

Roger

unread,
Dec 1, 2012, 1:48:13 AM12/1/12
to node-...@googlegroups.com
currently there is no handling on this. We'll see it in the future. Thanks


From: Doug Daniels <daniels...@gmail.com>
Sent: Sat Dec 01 14:45:53 格林尼治标准时间+0800 2012
To: node-...@googlegroups.com
Subject: [node-webkit] cookies don't seem to persist when closing then opening the app

Roger WANG

unread,
Dec 6, 2012, 8:47:11 AM12/6/12
to Doug Daniels, node-...@googlegroups.com
It's fixed now and will be in the next release:

https://github.com/rogerwang/node-webkit/issues/238

Thanks
--
Roger WANG Intel Open Source Technology Center

diego....@digitalpages.com.br

unread,
Mar 6, 2014, 5:30:54 PM3/6/14
to node-...@googlegroups.com, Doug Daniels
Hey,

how does this work?

After re-openning an application, no cookies are sent to the server. This should be working without any customization?

Anatoly Pashin

unread,
Mar 7, 2014, 1:43:40 AM3/7/14
to node-...@googlegroups.com
Not confirmed for me, works as expected for http:// remote.
What remote do you use? file:// I assume?


--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Пашин Анатолий,
эникейщик.

diego....@digitalpages.com.br

unread,
Mar 7, 2014, 3:44:51 PM3/7/14
to node-...@googlegroups.com
Hey Anatoly,

I'm using app://
Message has been deleted

jo...@about-blank.fr

unread,
Aug 7, 2014, 9:17:40 AM8/7/14
to node-...@googlegroups.com
Hey, did someone manage ti get this working ? I hae a very simple applicaton, which just loads an external url, but everytime I close my app and relaunch it, I need to authenticate again :-(
Reply all
Reply to author
Forward
0 new messages