<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 23 Jul 2022 at 17:04, Safiur Rahman <<a href="mailto:isafiur@gmail.com">isafiur@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi <div dir="auto"> </div><div dir="auto">I think that if localstorage could be used in gambas then data on the client can be uploaded to server without selecting file. </div>I can read data from cookies using Request.Cookies[]. Unfortunately cookie can store data upto 4 KB only. Is there any gambas way to read data from localStorage (which can store data upto 5 MB)</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></blockquote><div><br></div><div style="font-size:small" class="gmail_default">But it's not possible.</div><div style="font-size:small" class="gmail_default">all local stuff happens in the browser, beit firefox/chrome/Edge/etc. they do not even have gambas.</div><div style="font-size:small" class="gmail_default">the gambas stuff can only happen on the server then the html/javascript data is sent for your browser to read.</div><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default">All the browser can do is html/Javascript.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">gb.web.gui (although i've only just started to learn it) seems to be one big gambas to html/javascript converter.</div><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default">all the gambas forms/objects/events/etc are converted to html/javascript code then sent from server to client.  technically nothing gambas happens client side (locally).</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">you can use a javascript routine locally to upload to a writable folder on your server then refresh the page set to read said data.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Respects<br></div><div style="font-size:small" class="gmail_default">BruceS<br></div><div style="font-size:small" class="gmail_default"><br></div></div></div>