Session Login Question

I have many email accounts which includes GMAIL, YAHOO, HOTMAIL, XFINITY along with FACEBOOK and LinkedIN.  Can someone tell me what the link would be if I want to launch those specific sites which starts a new session so I can add the user/pass for that account?  I just cannot figure out what I need to place in the URL if I have logged into a GMAIL or another account, I close that tab and try to get tinto another MAIl account so I can get prompted for the new user/pass.

jeroen's picture

I am not clear what you mean. You should be able to launch multiple accounts per provider with X-notifier.

Tr3b's picture

If I am looged into let's say GMAIL and want to access another account via a new session, how do I do that.  Each time I go into GMAIL, HOTMAIL, YAHOO, it seems like my old sessions are still active even though I have closed the TAB.  Also as in LinkedIn, I have 2 accounts and I cannot switch between accounts without several steps of logging out.  Is there a way to do this within the URL that would log out the session and start a new session?

jeroen's picture

1. Do you have all your Gmail accounts configured in the X-notifier Options?
2. Do you know you can open all your configured accounts by clicking the account from the XN icon menu?

No need to enter user/passwd.
And you can consider Gmail's multisession as one session. Logging out from one account logs out all accounts. When that is your problem, I have a half solution for you using one browser (are you still onFirefox 56 with X-notifier 3?).

jeroen's picture

Closing a browser tab does not close a client-server session with a webserver. The client is the browser (app combined with ip). A tab is just a function of the client (the browser). Many webservers allow clients to stay logged in over client restart.

XN should flawlessly work with multiple Gmail accounts because the Gmail webserver already offers multi-session functionality. Other providers you need to logout/login to start a new session.

LinkedIn? I am surprised it still works for you... The script is not offered anymore on the XN Scripts page.

jeroen's picture

Every provider offers a logout button/icon on their pages that leads to the login page.. Right-click it and Copy Link Location to see the URL (or look at the Adress bar when you get there).

Gmail (multi)sessions are linked: logout ends all sessions on one device.
Other providers use one session per device, mostly meaning logout/login when switching account.
Yahoo switches accounts on the server keeping the one session open.
X-notifier aims to follow these scenarios.

jeroen's picture

Whether the browser opens a new tab is managed by the html (sent by the server), but an addon or user script can alter the html before it gets executed by the browser. Probably an addon not anymore with Firefox since the exit of XUL. But you can alter the html yourself by using the browser's Developer Tool.

Here is Google's Add account (Account toevoegen) <div> tag containg the <a> link tag where the target attribute tells the browser to open a new tab:  target="_blank". 

<div>
  <a class="gb_Aa gb_og gb_9e gb_Mb" href="https://accounts.google.com/AddSession?
  hl=nl&amp;continue=https://mail.google.com/mail&amp;service=mail" target="_blank">
  Account toevoegen</a>
</div>

jeroen's picture

Can we safely say this post is about a non-existing issue?
Or  do you wish to elaborate and explain the true nature of your issue...

jeroen's picture

And how on earth can you and RpD believe you can guess an URL Do you understand so little?

jeroen's picture

I am not asking you what it does. Ihat should be obvious by now:
http://xnotifier.tobwithu.com/dp/comment/13355#comment-13355

jeroen's picture

https://accounts.google.com/AddSession?hl=nl
&continue=https://mail.google.com/mail&service=mail

google.com : the domain
accounts.google.com : the server 
AddSession : the folder in the server directory
? : token separating the url from the parameters that will be read and used by the webserver application
& : token separating the parameters (expected by the app, some can be mandatory)
hl=nl : parameter name=hl, value=nl (one of the possible by the server app accepted values = Netherlands)
continue=https://mail.google.com/mail : parameter name=continue, value=https://mail.google.com/mail
service=mail : parameter name=service, value=mail

Tr3b's picture

I have been busy guys so I could not follow up.  Let me try to expand  on my goal. 

@jeroen...Yes this is an non existing issue .....for the most.

Here's my problem.  I am still on older Firefox and XN3526 and would like to more on to Newer/Latest version of Firefox.  What's mainly keeping me from changing is the ability to check all my e-mail accounts.  XN v4x as it stands does not work for me.  It does not check all my e-mail accounts.  I have tried just in both in Firefox and Opera with same results.  Issue is only some of my mail accounts are checked and others just clock.  I would summize I have hit the limit to the number of accounts XN checks....I have 15+ Gmail, 6 Oulook, 5 Yahoo & 5 Xfinity (broken).

 What I want to do is possibly create a home webpage that I can have my links on to my e-mail accounts that I can just click on and it will get me to that page so I can finish logging in.  Problem is I cannot get to just the email page of that specific account.  I get to either a main page that I have to funble through more links to get to my e-mail page or I am in another account session which I need to log out 1st.  So basically I am trying to do a manual XN Notifier.  This does not mean I won't use XN, I will just use it with my few accounts I mainly need to check.

 I also found nother app which stores passwords called BITWARDEN which has to ability to auto-populate the user/pass screen.  If I get what I want accomplished, I can se BITWARDEN to take me the rest of the way.

jeroen's picture

You cannot get the 2nd login passwd page without 1st getting the 1st login email page from the google server that provides part of the login required data (form parameters and cookie setting). You are walking a useless path, because you don't understand the first thing about the login process.

BITWARDEN is just a secure password manager.

Tr3b's picture

True but BITWARDEN also has to ability to launch a site and autofill user/pass

jeroen's picture

Just user/pass is not enough. That is the stone age.
The Google server expects the form parameter values back it has sent to the client on his request for the first login page. Capiche? It will refuse an incomplete login request.

jeroen's picture

Google allows 10  simultaneous logged in accounts (per device). Just checked it to be sure using the appropriate 'Add account' method (and without using XN): 
https://accounts.google.com/signin/toomanysessions

jeroen's picture

When you open a private Firefox window that counts for a new device (client) where you can open another 10 google accounts using by firefox saved credentials... without use of XN, but those accounts will be X-notified in the main firefox window. Remember that logging out from 1 google account will logout all on that device (client).

Certain (new) google accounts don't get logged in by X-notifier. I tried to trace this issue comparing XN and manual login for one of those accounts of mine, but didn't succeed. I think the best option is to give on of these accounts to Byungwook, since he is the only expert here (@RpD ;-)