📰Secure Login, Logout, and User Registration with Apps Script | Session Management

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 13. 09. 2024
  • Learn how to create a secure login, logout, and user registration system using Google Apps Script. This comprehensive tutorial covers session management, login/logout functionality, user registration with duplicate checking, success and error messages, and automatic redirection after successful registration. Enhance your web app's security and user experience today!
    Read More
    selfimaginatio...
    #SecureLogin #LogoutSystem #UserRegistration #AppsScriptTutorial #SessionManagement #WebAppSecurity #Tutorial #WebDevelopment

Komentáƙe • 51

  • @gregoriodelpilar007
    @gregoriodelpilar007 Pƙed 4 měsĂ­ci

    Thank you very much sir! Very helpful video!
    I would love to see a tutorial on how users can change their password using google appscript.. :)
    Excellent work!!!

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Pƙed 11 měsĂ­ci +1

    Many many thanks for provide source code

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Pƙed 11 měsĂ­ci +1

    Thanks a lot for excellent tutorial

  • @user-qu6uj1br4c
    @user-qu6uj1br4c Pƙed 10 měsĂ­ci

    Many tks u but can i use showModalDialog function with this interface login on google sheets? My idea is that when i click the function on the custom menu then i need to pass the login before the function can run. I hope to receive your response soon 🙏🙏

  • @zohairdilawar116
    @zohairdilawar116 Pƙed rokem +1

    Very nice video. Please teach to attach to invoice

    • @selfimagination
      @selfimagination  Pƙed rokem

      Thanks, After the home page created in it, you can use any of your code.

  • @jaibholenath9257
    @jaibholenath9257 Pƙed 3 měsĂ­ci

    Very effective

  • @zaincoderhub
    @zaincoderhub Pƙed 6 měsĂ­ci +1

    Sir please give me code please

    • @selfimagination
      @selfimagination  Pƙed 6 měsĂ­ci

      Thanks for Watching. Pls Check Description.

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Pƙed 11 měsĂ­ci

    I am really greatfull to you.

  • @mateenchoudhary9640
    @mateenchoudhary9640 Pƙed 11 měsĂ­ci

    Project achcha h, web pages Resposive rehta to bahot achcha tha, Q k abhi Responsive hi chal raha sb jaga.

    • @selfimagination
      @selfimagination  Pƙed 11 měsĂ­ci

      Thnak you, Google Apps Script Notification Bar aane ke karan Responsive nahi ho pata hain, yadi ham apne server par upyog kare to Responsive ho sakta hain, or yadi ham Direct Apps Script se Run karte hain tab Responsive nahi kar pate.

    • @mateenchoudhary9640
      @mateenchoudhary9640 Pƙed 11 měsĂ­ci

      Google script ne update kiya h abhi, waha par sb responsive code work ho rahe h mere bhi kuch projects h wo b abhi responsive work ho rahe h, google script k new update me, to aap bhi apne code kariye pls..

  • @vilasakchanthamith4774
    @vilasakchanthamith4774 Pƙed 11 měsĂ­ci

    Big big thanks 🙏🙏🙏

  • @ashishbiswas5802
    @ashishbiswas5802 Pƙed 8 měsĂ­ci

    How to logout function add Time session

    • @selfimagination
      @selfimagination  Pƙed 8 měsĂ­ci

      Thanks For Watching, There is no option for time setting in the session of apps script like in PHP etc., in this a session is valid for maximum 30 days, you will have to make some arrangement only if you want to be related to timing.

  • @haldunida
    @haldunida Pƙed 19 dny

    I try these steps but code can't get spreadsheet. I got "TypeError: Cannot read properties of null (reading 'getSheetByName')" message on webapp

    • @haldunida
      @haldunida Pƙed 19 dny

      I found a solution myself : set active spreadsheet by following code :
      // The code below makes the spreadsheet with key "1234567890" the active spreadsheet
      var ss = SpreadsheetApp.openById("1234567890");
      SpreadsheetApp.setActiveSpreadsheet(ss);

  • @ashishbiswas5802
    @ashishbiswas5802 Pƙed 8 měsĂ­ci

    logout Time session. Add. kaise Karenge.

    • @selfimagination
      @selfimagination  Pƙed 8 měsĂ­ci

      Thanks For Watching, There is no option for time setting in the session of apps script like in PHP etc., in this a session is valid for maximum 30 days, you will have to make some arrangement only if you want to be related to timing.

  • @ashishbiswas5802
    @ashishbiswas5802 Pƙed 8 měsĂ­ci

    logout function at time session

    • @selfimagination
      @selfimagination  Pƙed 8 měsĂ­ci

      Thanks For Watching, There is no option for time setting in the session of apps script like in PHP etc., in this a session is valid for maximum 30 days, you will have to make some arrangement only if you want to be related to timing.

  • @chaiwatpromma1584
    @chaiwatpromma1584 Pƙed 8 měsĂ­ci

    in register page how to come back to main page

    • @selfimagination
      @selfimagination  Pƙed 8 měsĂ­ci

      Thanks for watching, Show #DivLogin and hide #DivRegister.

  • @AaryanChiram
    @AaryanChiram Pƙed rokem

    à€žà€° à€‡à€žà€źà„‡à€‚ “main.html” à€źà„‡à€‚ à€Żà„‚à€œà€° à€šà„‡à€ź à€•à„‹ à€•à„ˆà€žà„‡ à€¶à„‹ à€•à€°à€”à€Ÿà€ à€•à„ƒà€Șà€Ÿà€•à€° à€…à€Șà€Ąà„‡à€Ÿ à€•à€° à€Źà€€à€Ÿà€Żà„‡ à€žà€° à€œà„€ à€źà„ˆ à€†à€Șà€•à„‡ à€”à€żà€Ąà€żà€Żà„‹ à€”à€° à€žà€Ÿà€ˆà€Ÿ à€•à€Ÿ à€°à„‡à€—à„à€Čà€° à€”à€żà€œà€żà€Ÿ à€•à€°à€€à„‡ à€°à€čà€€à€Ÿ à€čà„‚à€

    • @selfimagination
      @selfimagination  Pƙed rokem +1

      Thanks for Watching, Video à€Źà€čà„à€€ à€čà„€ à€œà€Čà„à€Š Publish à€čà„‹à€—à€Ÿ

    • @Appsandtechnicalsupport
      @Appsandtechnicalsupport Pƙed rokem

      @@selfimagination à€źà„à€à„‡ à€Źà„‡à€žà€Źà„à€°à„€ à€žà„‡ à€‡à€‚à€€à€żà€œà€Ÿà€° à€čà„ˆ à€žà€°

  • @at9xfunny_proop869
    @at9xfunny_proop869 Pƙed 6 měsĂ­ci

    Bro while clicking on register its not going to login page and when i have removed register and try with simple login and also button is not redirecting me

    • @selfimagination
      @selfimagination  Pƙed 6 měsĂ­ci

      Thanks for Watching. You can use the alert or console to see at which step it is stopping or what errors are coming on the console.

    • @at9xfunny_proop869
      @at9xfunny_proop869 Pƙed 6 měsĂ­ci

      ​​@@selfimagination i found out what the issue was but I don't know how to fix it please help me
      Error was in Code.gs file
      Let Retmsg call pUID password pName: undefined and in execution log ts showing type Error ; cannot read properties of null (reading 'getrange')

    • @selfimagination
      @selfimagination  Pƙed 6 měsĂ­ci

      In JavaScript we have created Register() function from where we have called UserRegister(uid,pass,unm) but the value of uid, pass, and unm is not returning, once you check it.

    • @at9xfunny_proop869
      @at9xfunny_proop869 Pƙed 6 měsĂ­ci

      while clicking on register button data isn't saving to Google sheet what I will do please solve this one and I will do mail to you because I can't explain all things it here

    • @selfimagination
      @selfimagination  Pƙed 6 měsĂ­ci

      OK, Please mail me, I will also take a look.

  • @SafiyullaMona
    @SafiyullaMona Pƙed rokem

    ❀

  • @smr8854
    @smr8854 Pƙed rokem

    Plz provide the code.

    • @selfimagination
      @selfimagination  Pƙed rokem

      Thanks for watching, you will find the link to the source code in the description.

  • @papaa3014
    @papaa3014 Pƙed rokem

    sir iska code mil sakta hai ..

    • @selfimagination
      @selfimagination  Pƙed rokem

      Thanks for Watching, bahut hi jald description me link mil jaegi , aap chahe to puri login series ko shuru se dekhnge to khud hi code likh payenge.

    • @papaa3014
      @papaa3014 Pƙed rokem

      sir iska code

    • @papaa3014
      @papaa3014 Pƙed rokem

      ​@@selfimaginationsir code likhta to error a jata hai isliye mil jaye to acha lagta hai😊

    • @selfimagination
      @selfimagination  Pƙed rokem

      Thanks for watching, you will find the link to the source code in the description.

    • @papaa3014
      @papaa3014 Pƙed rokem

      ​@@selfimagination thhanx sir😊

  • @Pwangchen
    @Pwangchen Pƙed 10 měsĂ­ci

    SyntaxError: Unexpected token '?' (line 11, file "Code")

    • @selfimagination
      @selfimagination  Pƙed 10 měsĂ­ci

      You can see the code you have written on code.gs and comment to me.