Closed
Bug 1151292
Opened 10 years ago
Closed 9 years ago
Credentials from OVH Hubic lost after device reboot (B2G)
Categories
(Tech Evangelism Graveyard :: Preinstalled B2G Apps, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gerard-majax, Unassigned)
Details
(Keywords: foxfood)
STR:
0. Install hubiC for Firefox OS (https://hubic.com/fr/firefoxos)
1. Login
2. Reboot
Expected:
When I reopen the app, my session is kept
Actual:
I have to relogin
Flags: needinfo?(vincent)
Updated•10 years ago
|
Component: Mobile → Preinstalled B2G Apps
Hi!
I am one of the developer of this web application.
Currently, session system is based on cookies. It seems cookies are lost at reboot. There is anyway to avoid cookie to be deleted?
Best regards,
Vincent
Flags: needinfo?(vincent)
| Reporter | ||
Comment 2•10 years ago
|
||
I don't have problem with other services/apps. For instance Mediapart or Nextinpact.
I don't have account on mediapart or nextinpact.
Are you using this service as a website (inside Firefox browser) or as an application (declared with a manifest.webapp)?
Maybe the issue is located on kind of cookies used? (only_http, secured...)
| Reporter | ||
Comment 4•10 years ago
|
||
(In reply to vincent from comment #3)
> I don't have account on mediapart or nextinpact.
>
> Are you using this service as a website (inside Firefox browser) or as an
> application (declared with a manifest.webapp)?
As an application. And I know that some Gaia apps makes use of cookie for storing some data.
| Reporter | ||
Comment 5•10 years ago
|
||
(In reply to vincent from comment #3)
> I don't have account on mediapart or nextinpact.
>
> Are you using this service as a website (inside Firefox browser) or as an
> application (declared with a manifest.webapp)?
>
> Maybe the issue is located on kind of cookies used? (only_http, secured...)
I checked with WebIDE, I see the proper cookies resent. I've sent you screenshots :)
| Reporter | ||
Comment 6•10 years ago
|
||
So, PHPSESSID:
> ===== COOKIE ACCEPTED =====
> request URL: https://hubic.com/home/
> cookie string: PHPSESSID=xxx; path=/
> replaces existing cookie: false
> current time: Wed Apr 08 12:06:05 2015 GMT
> ----------------
> name: PHPSESSID
> value: xxx
> host: hubic.com
> path: /
> expires: Wed Dec 31 23:59:59 1969 GMT (at end of session)
> created: Wed Apr 08 12:06:05 2015 GMT
> is secure: false
> is httpOnly: false
Note the expire value.
Hi,
To be more detailed: this cookie is a "Session" cookie. That's why Expires tag is timestamp -1
By definition, "Session" cookies are deleted at the end of navigation (when you quit your browser).
I think this behavior is not shown on browser with tabs reloading at launch.
So, we will fix it quickly :)
| Reporter | ||
Comment 8•10 years ago
|
||
(In reply to vincent from comment #7)
> Hi,
>
> To be more detailed: this cookie is a "Session" cookie. That's why Expires
> tag is timestamp -1
> By definition, "Session" cookies are deleted at the end of navigation (when
> you quit your browser).
Yep, it's consistent.
>
> I think this behavior is not shown on browser with tabs reloading at launch.
> So, we will fix it quickly :)
Do you experience the same behavior when closing and restarting the browser itself ? If so, I think we should maybe dupe this against bug 1033355.
Hum, when I use the browser on firefox OS 1.3 to go on hubic webapplication, my session is not deleted when I close the browser (with closing the app and not only switch to another).
If I restart the phone, session is lost inside the browser.
So: Session cookies are cleaned only at reboot?
And second question: in installed application context, session cookies should be destroy at reboot or keep inside mobile phone?
| Reporter | ||
Updated•10 years ago
|
| Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•