[Home](./index.md) > [bitburner](./bitburner.md) > [ServerAuthDetails](./bitburner.serverauthdetails.md) > [hasSession](./bitburner.serverauthdetails.hassession.md) ## ServerAuthDetails.hasSession property True if the current script has authenticated to this server with the right password using authenticate() or connectToSesssion() **Signature:** ```typescript hasSession: boolean; ```