# \[SOLVED\] How to keep my Whatsapp web session alive without connecting my whatsapp on phone?

**URL:** <https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409>\
**Category:** Tutorials & Methods\
**Tags:** solved\
**Created:** [March 27, 2020, 6:55am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409 "2020-03-27T06:55:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillu\_dilsa](https://onehack.st/user_avatar/onehack.st/dillu_dilsa/32/30553_2.png) [@dillu\_dilsa](https://onehack.st/u/dillu_dilsa)\
**Post date:** [March 27, 2020, 6:55am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/1 "2020-03-27T06:55:21Z")

</div>

hi everyone.

my phone’s touch isnot working and i was looking for a way to use my whatsapp on my pc .

I have opened whatsapp web using dual apping it and scan the qr code froom another’s person phone

and now i looking to keep it alive without using/opening whatsapp on phone. **strong text**

---

<div class="post-metadata">

**Author:** ![FlashyFlash](https://onehack.st/user_avatar/onehack.st/flashyflash/32/36454_2.png) [@FlashyFlash](https://onehack.st/u/FlashyFlash)\
**Post date:** [March 27, 2020, 7:39am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/2 "2020-03-27T07:39:14Z")

</div>

u only need to scan qr code once then it wont ask to scan again on same device if u dont log out as far as i knw  
also u can install whatsapp on bluestacks and run on pc  
also whatsapp is there on windows store too

---

<div class="post-metadata">

**Author:** ![dillu\_dilsa](https://onehack.st/user_avatar/onehack.st/dillu_dilsa/32/30553_2.png) [@dillu\_dilsa](https://onehack.st/u/dillu_dilsa)\
**Post date:** [March 27, 2020, 7:49am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/3 "2020-03-27T07:49:43Z")

</div>

evenif i logout from android after scan?

---

<div class="post-metadata">

**Author:** ![FlashyFlash](https://onehack.st/user_avatar/onehack.st/flashyflash/32/36454_2.png) [@FlashyFlash](https://onehack.st/u/FlashyFlash)\
**Post date:** [March 27, 2020, 7:54am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/4 "2020-03-27T07:54:35Z")

</div>

i hv never logged out of whatsapp on phone  
i jus never open whatsapp on phone i jus go to [web.whatsapp.com](http://web.whatsapp.com) and it automatically goes into my account i dont need to scan everytime

---

<div class="post-metadata">

**Author:** ![dydx](https://onehack.st/user_avatar/onehack.st/dydx/32/36729_2.png) [@dydx](https://onehack.st/u/dydx)\
**Post date:** [March 27, 2020, 8:00am UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/5 "2020-03-27T08:00:31Z")

</div>

whatsapp must be connected to the internet on phone …if you want to use webwhatsapp

---

<div class="post-metadata">

**Author:** ![Jenna](https://onehack.st/user_avatar/onehack.st/jenna/32/166322_2.png) [@Jenna](https://onehack.st/u/Jenna)\
**Post date:** [March 28, 2020, 9:54pm UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/6 "2020-03-28T21:54:08Z")

</div>

When logging on in the whatsapp web feature, there will be a button and a label beside it saying “keep me signed in”.

Check the button and your whatsapp will always be logged on in the whatsapp web.

 ![image](https://onehack.st/uploads/default/original/3X/9/2/921d2a21b9ab9fb6b23c76d47376419b99f2d679.jpeg)

## Other basic points to keep in mind!

- The method only works, as long as you don’t log off (either yourself, or forced, because of dual login).
- Therefore, using WhatsApp Web on your work computer should always work. Close browser. Go home. Use WhatsApp Web again, it should still work. Close browser.
- However, you BREAK it IF YOU LEAVE the browser OPEN at work, go home, use WhatsApp Web again (now it’s open on 2 browsers at the same time.
- The browser at work will now LOG OFF). When you go back to work, you will have to scan the QR code again.
- Same applies (breaking), if you use the log off function in WhatsApp Web, instead of just closing the browser.

* * *

## Also, if you’re thinking of cookies?

Initially, I thought they are doing this by setting session cookies, that have an expiry date, one month into future. This is a standard practice for many web applications. So, I looked for the cookies WhatsApp web is using. Here is how they look:

![image](https://onehack.st/uploads/default/original/3X/6/3/636db828410f61e33bab5a6a55a88ae7206b8079.png)

When I delete these cookies, close the browser and start WhatsApp web, they get created again. So, it is not these cookies that are controlling the above behavior. I then looked at browser’s local storage. WhatsApp web seems to be storing lot of data in browser’s local storage and it looks like this:

 ![image](https://onehack.st/uploads/default/original/3X/9/5/9579ba758066fc6afe7f1de1d8c267b68eaeb954.png)

While some of the key names are making sense, rest of them don’t. Only developer(s) who are setting and reading these values can decipher them in code. It makes sense, because WhatsApp devs cannot let end users tinker with these values and change behavior of the app.

When I delete the local data and login to WhatsApp again, it prompts me to scan the QR Code. This tells me that one or more of these key/value pairs stored in browser’s local storage is controlling the behavior, and dictating how long a scanned QR Code should be valid.

Essentially they are using some propietary code stored in the browser’s “locally stored data" to ensure that you don’t stay on whatsapp too long (essentially to prevent people from activating whatsapp on a disposable phone and then using it without phone forever, they must ensure people OWN A SMARTPHONE AT ALL TIMES).

> So, the answer to your question is: only devs at WhatsApp know. But hopefully I gave enough details for you to understand the behind-the-scenes activity.

---

<div class="post-metadata">

**Author:** ![quick-learner](https://onehack.st/user_avatar/onehack.st/quick-learner/32/43997_2.png) [@quick-learner](https://onehack.st/u/quick-learner)\
**Post date:** [March 29, 2020, 1:43pm UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/7 "2020-03-29T13:43:42Z")

</div>

in this case telegram is best

---

<div class="post-metadata">

**Author:** ![dillu\_dilsa](https://onehack.st/user_avatar/onehack.st/dillu_dilsa/32/30553_2.png) [@dillu\_dilsa](https://onehack.st/u/dillu_dilsa)\
**Post date:** [March 29, 2020, 2:55pm UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/8 "2020-03-29T14:55:19Z")

</div>

THat is som in depth analysis. THAnkyou sso much

---

<div class="post-metadata">

**Author:** ![imhn](https://onehack.st/user_avatar/onehack.st/imhn/32/32310_2.png) [@imhn](https://onehack.st/u/imhn)\
**Post date:** [March 29, 2020, 3:00pm UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/9 "2020-03-29T15:00:28Z")

</div>

bro install android emulator on your pc (**Bluestacks/Nox Player)** and install whatsapp from play store and login with your number, that’s it, you can now don’t need login every time on your pc.

---

<div class="post-metadata">

**Author:** ![JovialH4ckr](https://onehack.st/user_avatar/onehack.st/jovialh4ckr/32/32203_2.png) [@JovialH4ckr](https://onehack.st/u/JovialH4ckr)\
**Post date:** [March 29, 2020, 3:12pm UTC](https://onehack.st/t/solved-how-to-keep-my-whatsapp-web-session-alive-without-connecting-my-whatsapp-on-phone/75409/10 "2020-03-29T15:12:59Z")

</div>

There is a desktop version of whatsapp. In my case the desktop version does not log out on its own.  
Whatsapp Desktop - [Link](https://www.whatsapp.com/download)
