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

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 57

  • @gregoriodelpilar007
    @gregoriodelpilar007 8 місяців тому +1

    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!!!

  • @QuyPham-l5p
    @QuyPham-l5p Рік тому

    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 🙏🙏

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Рік тому +1

    Thanks a lot for excellent tutorial

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Рік тому +1

    Many many thanks for provide source code

  • @zohairdilawar116
    @zohairdilawar116 Рік тому +1

    Very nice video. Please teach to attach to invoice

    • @selfimagination
      @selfimagination  Рік тому

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

  • @ashishbiswas5802
    @ashishbiswas5802 Рік тому

    How to logout function add Time session

    • @selfimagination
      @selfimagination  Рік тому

      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.

  • @binayyadav1987
    @binayyadav1987 2 місяці тому

    Great gurujii too much love

  • @ZannaMariya_21
    @ZannaMariya_21 3 місяці тому

    I have created a Google Apps script code where there is a user login is available. Whenever any user login in different devices same data shows what should be the problem?

    • @selfimagination
      @selfimagination  3 місяці тому

      Thanks for Watching. You will need to store the user who entered the Google Sheet in a column and while displaying the data, apply a filter to display only the data related to the logged in user.

    • @ZannaMariya_21
      @ZannaMariya_21 3 місяці тому

      @@selfimagination bro I need your help can I personally communicate with you?

    • @selfimagination
      @selfimagination  3 місяці тому

      There is an email about this channel, you can mail on that, if there is any small issue in coding then we will help you, if any new code has to be written then it is not possible right now.

  • @ashishbiswas5802
    @ashishbiswas5802 Рік тому

    logout Time session. Add. kaise Karenge.

    • @selfimagination
      @selfimagination  Рік тому

      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.

  • @vilasakchanthamith4774
    @vilasakchanthamith4774 Рік тому

    Big big thanks 🙏🙏🙏

  • @chaiwatpromma1584
    @chaiwatpromma1584 Рік тому

    in register page how to come back to main page

    • @selfimagination
      @selfimagination  Рік тому

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

  • @ashishbiswas5802
    @ashishbiswas5802 Рік тому

    logout function at time session

    • @selfimagination
      @selfimagination  Рік тому

      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 4 місяці тому

    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 4 місяці тому

      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);

  • @at9xfunny_proop869
    @at9xfunny_proop869 10 місяців тому

    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  10 місяців тому

      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 10 місяців тому

      ​​@@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  10 місяців тому

      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 10 місяців тому

      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  10 місяців тому

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

  • @mehedihasan-kf4uy
    @mehedihasan-kf4uy Рік тому

    I am really greatfull to you.

  • @AaryanChiram
    @AaryanChiram Рік тому

    सर इसमें “main.html” में यूजर नेम को कैसे शो करवाए कृपाकर अपडेट कर बताये सर जी मै आपके विडियो और साईट का रेगुलर विजिट करते रहता हूँ

    • @selfimagination
      @selfimagination  Рік тому +1

      Thanks for Watching, Video बहुत ही जल्द Publish होगा

    • @Appsandtechnicalsupport
      @Appsandtechnicalsupport Рік тому

      @@selfimagination मुझे बेसब्री से इंतिजार है सर

  • @zaincoderhub
    @zaincoderhub 10 місяців тому +1

    Sir please give me code please

    • @selfimagination
      @selfimagination  9 місяців тому

      Thanks for Watching. Pls Check Description.

  • @jaibholenath9257
    @jaibholenath9257 7 місяців тому

    Very effective

  • @mateenchoudhary9640
    @mateenchoudhary9640 Рік тому

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

    • @selfimagination
      @selfimagination  Рік тому

      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 Рік тому

      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..

  • @smr8854
    @smr8854 Рік тому

    Plz provide the code.

    • @selfimagination
      @selfimagination  Рік тому

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

  • @papaa3014
    @papaa3014 Рік тому

    sir iska code mil sakta hai ..

    • @selfimagination
      @selfimagination  Рік тому

      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 Рік тому

      sir iska code

    • @papaa3014
      @papaa3014 Рік тому

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

    • @selfimagination
      @selfimagination  Рік тому

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

    • @papaa3014
      @papaa3014 Рік тому

      ​@@selfimagination thhanx sir😊

  • @SafiyullaMona
    @SafiyullaMona Рік тому

  • @Pwangchen
    @Pwangchen Рік тому

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

    • @selfimagination
      @selfimagination  Рік тому

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