question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do we use sessions to prevent request for every typed character?

See original GitHub issue

How can we use sessions with this library to prevent getting billed a request for every character typed? I tried testing a random sessiontoken in the query but I am still seeing requests for every typed character in google cloud console. Here is my query:

query={{
        // available options: https://developers.google.com/places/web-service/autocomplete
        key: "MYKEY",
        language: "en",
        region: "US",
        location: "34.043,-118.267",
        radius: 10000,
        sessiontoken: "thisisarandomtest1234567"
}}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16

github_iconTop GitHub Comments

3reactions
Skullcancommented, May 19, 2020

Sure, sounds great to me! Hope others interested give some feedback and I’ll gladly try to implement this.

1reaction
Skullcancommented, May 26, 2020

Sure. Already started something, but didn’t had the time to finish yet. Crazy Week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Sessions and Session Variables in PHP - Code
Session handling is a key concept in PHP that enables user information to be persisted across all the pages of a website or...
Read more >
Using Sessions and Session Persistence - Oracle Help Center
To prevent multiple database queries, WebLogic Server caches recently used sessions. Recently used sessions are not refreshed from the database for every ......
Read more >
What is session hijacking and how you can stop it
This can be achieved when someone (called a “Man in the Middle” attack) is monitoring all the traffic in the network of customers....
Read more >
Window.sessionStorage - Web APIs - MDN Web Docs
The read-only sessionStorage property accesses a session Storage object for the current origin. sessionStorage is similar to localStorage ...
Read more >
Preventing Session Hijacking and Tracking User Sessions
To set the blocking modes for the hijacking violation, click Security > Application Security > Policy Building > Learning and Blocking Settings ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found