Will google still index a page if I use a $_SESSION variable?web widget and SEORemember me or not?Regarding Google Index -> Remove URLsPagination and duplicate contentWebsite visitors with same PHP session ID, same cookies, but different IPs and user agents, all within one second. What are they and how to stop them?google displays wrong language on multi language website because it takes cookies into considerationWhen will Google report correct results with its fetch tool?SEO question in regards to current way of loading my pagesSEO for URLs that are only accessible to users with a specific session variableISP Config broke my PHP sessions and cookies

Anagram holiday

Why can't we play rap on piano?

Forgetting the musical notes while performing in concert

What's the difference between 'rename' and 'mv'?

1960's book about a plague that kills all white people

Will google still index a page if I use a $_SESSION variable?

Why does Kotter return in Welcome Back Kotter

Arrow those variables!

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Combinations of multiple lists

Doing something right before you need it - expression for this?

How can saying a song's name be a copyright violation?

Facing a paradox: Earnshaw's theorem in one dimension

How to say in German "enjoying home comforts"

Brothers & sisters

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

Is there a hemisphere-neutral way of specifying a season?

What's the point of deactivating Num Lock on login screens?

What killed these X2 caps?

Is it inappropriate for a student to attend their mentor's dissertation defense?

What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?

Emailing HOD to enhance faculty application

I'm flying to France today and my passport expires in less than 2 months



Will google still index a page if I use a $_SESSION variable?


web widget and SEORemember me or not?Regarding Google Index -> Remove URLsPagination and duplicate contentWebsite visitors with same PHP session ID, same cookies, but different IPs and user agents, all within one second. What are they and how to stop them?google displays wrong language on multi language website because it takes cookies into considerationWhen will Google report correct results with its fetch tool?SEO question in regards to current way of loading my pagesSEO for URLs that are only accessible to users with a specific session variableISP Config broke my PHP sessions and cookies






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















For a couple of pages on our site, I'm writing a widget that relies on what it displays on other pages to determine what it displays on the current page. Basically, the purpose is just to ensure there's no duplicate content. It's not individualized per user, just depended on what's being displayed elsewhere at the current given time.



My CTO will not allow me to save the data in the database or even a log file to keep a persisting state, so to accomplish this the only other way I can think of is set a $_SESSION variable and store the persisting state there. However, I'm realizing google's bot probably doesn't use cookies so I'm not sure if this will work.



Does anyone know if Google will still index the pages if what they're displaying relies on a session variable? If not, is there another way to store a persisting state across pages that doesn't use the db or log file that googlebot will understand?










share|improve this question







New contributor




Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1















    For a couple of pages on our site, I'm writing a widget that relies on what it displays on other pages to determine what it displays on the current page. Basically, the purpose is just to ensure there's no duplicate content. It's not individualized per user, just depended on what's being displayed elsewhere at the current given time.



    My CTO will not allow me to save the data in the database or even a log file to keep a persisting state, so to accomplish this the only other way I can think of is set a $_SESSION variable and store the persisting state there. However, I'm realizing google's bot probably doesn't use cookies so I'm not sure if this will work.



    Does anyone know if Google will still index the pages if what they're displaying relies on a session variable? If not, is there another way to store a persisting state across pages that doesn't use the db or log file that googlebot will understand?










    share|improve this question







    New contributor




    Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      1












      1








      1








      For a couple of pages on our site, I'm writing a widget that relies on what it displays on other pages to determine what it displays on the current page. Basically, the purpose is just to ensure there's no duplicate content. It's not individualized per user, just depended on what's being displayed elsewhere at the current given time.



      My CTO will not allow me to save the data in the database or even a log file to keep a persisting state, so to accomplish this the only other way I can think of is set a $_SESSION variable and store the persisting state there. However, I'm realizing google's bot probably doesn't use cookies so I'm not sure if this will work.



      Does anyone know if Google will still index the pages if what they're displaying relies on a session variable? If not, is there another way to store a persisting state across pages that doesn't use the db or log file that googlebot will understand?










      share|improve this question







      New contributor




      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      For a couple of pages on our site, I'm writing a widget that relies on what it displays on other pages to determine what it displays on the current page. Basically, the purpose is just to ensure there's no duplicate content. It's not individualized per user, just depended on what's being displayed elsewhere at the current given time.



      My CTO will not allow me to save the data in the database or even a log file to keep a persisting state, so to accomplish this the only other way I can think of is set a $_SESSION variable and store the persisting state there. However, I'm realizing google's bot probably doesn't use cookies so I'm not sure if this will work.



      Does anyone know if Google will still index the pages if what they're displaying relies on a session variable? If not, is there another way to store a persisting state across pages that doesn't use the db or log file that googlebot will understand?







      seo php googlebot session






      share|improve this question







      New contributor




      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      Mitchell LewisMitchell Lewis

      61




      61




      New contributor




      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Mitchell Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          2 Answers
          2






          active

          oldest

          votes


















          2














          Back in September 2018 John Mueller from Google tweeted:



          enter image description here



          Also see:




          Source: https://www.seroundtable.com/google-cookies-seo-26344.html



          Google's John Mueller said on Twitter that Google almost certainly
          cannot index a page that requires cookies. He said if you want Google
          to index the page, make sure to "remove the dependency" on cookies.







          share|improve this answer






























            1














            What do you do when a user visits the site for the first time? Presumably you calculate what needs to be displayed, display it, and "cache" something in the session (as you mention). Every Googlebot visit is like the user's first time visit (as @Simon mentions - the Googlebot does not use cookies, so no session data can persist).



            So, assuming you do display this content to the user on their first visit then GoogleBot will also see this content, except that it will need to be calculated (which could be slow?) on every request.






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "45"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );






              Mitchell Lewis is a new contributor. Be nice, and check out our Code of Conduct.









              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwebmasters.stackexchange.com%2fquestions%2f122057%2fwill-google-still-index-a-page-if-i-use-a-session-variable%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              Back in September 2018 John Mueller from Google tweeted:



              enter image description here



              Also see:




              Source: https://www.seroundtable.com/google-cookies-seo-26344.html



              Google's John Mueller said on Twitter that Google almost certainly
              cannot index a page that requires cookies. He said if you want Google
              to index the page, make sure to "remove the dependency" on cookies.







              share|improve this answer



























                2














                Back in September 2018 John Mueller from Google tweeted:



                enter image description here



                Also see:




                Source: https://www.seroundtable.com/google-cookies-seo-26344.html



                Google's John Mueller said on Twitter that Google almost certainly
                cannot index a page that requires cookies. He said if you want Google
                to index the page, make sure to "remove the dependency" on cookies.







                share|improve this answer

























                  2












                  2








                  2







                  Back in September 2018 John Mueller from Google tweeted:



                  enter image description here



                  Also see:




                  Source: https://www.seroundtable.com/google-cookies-seo-26344.html



                  Google's John Mueller said on Twitter that Google almost certainly
                  cannot index a page that requires cookies. He said if you want Google
                  to index the page, make sure to "remove the dependency" on cookies.







                  share|improve this answer













                  Back in September 2018 John Mueller from Google tweeted:



                  enter image description here



                  Also see:




                  Source: https://www.seroundtable.com/google-cookies-seo-26344.html



                  Google's John Mueller said on Twitter that Google almost certainly
                  cannot index a page that requires cookies. He said if you want Google
                  to index the page, make sure to "remove the dependency" on cookies.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  Simon HayterSimon Hayter

                  30.1k645101




                  30.1k645101























                      1














                      What do you do when a user visits the site for the first time? Presumably you calculate what needs to be displayed, display it, and "cache" something in the session (as you mention). Every Googlebot visit is like the user's first time visit (as @Simon mentions - the Googlebot does not use cookies, so no session data can persist).



                      So, assuming you do display this content to the user on their first visit then GoogleBot will also see this content, except that it will need to be calculated (which could be slow?) on every request.






                      share|improve this answer



























                        1














                        What do you do when a user visits the site for the first time? Presumably you calculate what needs to be displayed, display it, and "cache" something in the session (as you mention). Every Googlebot visit is like the user's first time visit (as @Simon mentions - the Googlebot does not use cookies, so no session data can persist).



                        So, assuming you do display this content to the user on their first visit then GoogleBot will also see this content, except that it will need to be calculated (which could be slow?) on every request.






                        share|improve this answer

























                          1












                          1








                          1







                          What do you do when a user visits the site for the first time? Presumably you calculate what needs to be displayed, display it, and "cache" something in the session (as you mention). Every Googlebot visit is like the user's first time visit (as @Simon mentions - the Googlebot does not use cookies, so no session data can persist).



                          So, assuming you do display this content to the user on their first visit then GoogleBot will also see this content, except that it will need to be calculated (which could be slow?) on every request.






                          share|improve this answer













                          What do you do when a user visits the site for the first time? Presumably you calculate what needs to be displayed, display it, and "cache" something in the session (as you mention). Every Googlebot visit is like the user's first time visit (as @Simon mentions - the Googlebot does not use cookies, so no session data can persist).



                          So, assuming you do display this content to the user on their first visit then GoogleBot will also see this content, except that it will need to be calculated (which could be slow?) on every request.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 34 mins ago









                          MrWhiteMrWhite

                          31.9k33367




                          31.9k33367




















                              Mitchell Lewis is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              Mitchell Lewis is a new contributor. Be nice, and check out our Code of Conduct.












                              Mitchell Lewis is a new contributor. Be nice, and check out our Code of Conduct.











                              Mitchell Lewis is a new contributor. Be nice, and check out our Code of Conduct.














                              Thanks for contributing an answer to Webmasters Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwebmasters.stackexchange.com%2fquestions%2f122057%2fwill-google-still-index-a-page-if-i-use-a-session-variable%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Are there any AGPL-style licences that require source code modifications to be public? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Force derivative works to be publicAre there any GPL like licenses for Apple App Store?Do you violate the GPL if you provide source code that cannot be compiled?GPL - is it distribution to use libraries in an appliance loaned to customers?Distributing App for free which uses GPL'ed codeModifications of server software under GPL, with web/CLI interfaceDoes using an AGPLv3-licensed library prevent me from dual-licensing my own source code?Can I publish only select code under GPLv3 from a private project?Is there published precedent regarding the scope of covered work that uses AGPL software?If MIT licensed code links to GPL licensed code what should be the license of the resulting binary program?If I use a public API endpoint that has its source code licensed under AGPL in my app, do I need to disclose my source?

                              2013 GY136 Descoberta | Órbita | Referências Menu de navegação«List Of Centaurs and Scattered-Disk Objects»«List of Known Trans-Neptunian Objects»

                              Metrô de Los Teques Índice Linhas | Estações | Ver também | Referências Ligações externas | Menu de navegação«INSTITUCIÓN»«Mapa de rutas»originalMetrô de Los TequesC.A. Metro Los Teques |Alcaldía de Guaicaipuro – Sitio OficialGobernacion de Mirandaeeeeeee