Rocksolid Light

Welcome to RetroBBS

mail  files  register  nodelist  faq  login

When it is not necessary to make a decision, it is necessary not to make a decision.


rocksolid / Helpdesk / Re: Auto Refresh

SubjectAuthor
* Auto RefreshAnonymous
`* Re: Auto RefreshAnonymous
 `* Re: Auto RefreshAnonymous
  +* Re: Auto RefreshAnonymous
  |`* Re: Auto RefreshAnonymous
  | `- Re: Auto RefreshAnonymous
  `- Re: Auto RefreshRetro Guy

1
Subject: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Fri, 4 Jun 2021 14:54 UTC
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: Anonymous@news.novabbs.org (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Auto Refresh
Date: Fri, 4 Jun 2021 14:54:49 +0000
Organization: Rocksolid Light
Message-ID: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="18937"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$Udb8xYRQgEqPAe4czImOU.It1dS7Y0sIFMs9x2jipv1heyWFfhERu
View all headers
I could use some help. I have a site where there's an input form that users will have to type and post in. I want to use an auto refresh, but when I try using a regular meta tag, everything that the users typed out in this form is gone if they haven't sent it. I want to do an auto refresh without having this form affected. By the way, I also want to do this only through HTML and PHP, no JavaScript. Any help and advice would be appreciated.
--
Posted on Rocksolid Light


Subject: Re: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: novaBBS
Date: Fri, 4 Jun 2021 15:12 UTC
References: 1
Path: i2pn2.org!.POSTED.10.136.168.121!not-for-mail
From: Anonymous@news.novabbs.com (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Fri, 4 Jun 2021 15:12:04 +0000
Organization: novaBBS
Message-ID: <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.168.121";
logging-data="22680"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$nk5v7FG6daqdk22GegLI0.FfPAGONsozuuN3arSK62xooPf.YEXia
View all headers
Anonymous wrote:

I could use some help. I have a site where there's an input form that users will have to type and post in. I want to use an auto refresh, but when I try using a regular meta tag, everything that the users typed out in this form is gone if they haven't sent it. I want to do an auto refresh without having this form affected. By the way, I also want to do this only through HTML and PHP, no JavaScript. Any help and advice would be appreciated.

When you refresh, it just loads the page again. Whatever they typed will always be gone, it's like they clicked on the form again. An obvious question is why do you want to refresh a page with a form? Is this necessary? Why? Are you displaying constantly changing info that they need to have access to so they can fill it out?

My first comment would be to not refresh a form. It's not something normally done for obvious reasons. But if you really need to display constantly changing information, maybe you need to display that in an iframe that refreshes, and does not refresh the entire page.

If you can explain why you need to do this, maybe we can provide more help that suits your specific requirement.
--
Posted on novaBBS


Subject: Re: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Fri, 4 Jun 2021 15:55 UTC
References: 1 2
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: Anonymous@news.novabbs.org (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Fri, 4 Jun 2021 15:55:15 +0000
Organization: Rocksolid Light
Message-ID: <89aeb51d658e37706ee2188cb922a635@news.novabbs.org>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org> <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="31990"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$uKKHt6q6BFOIcuOFBYVK.u.Cr0VMiU1m9Rw3qzohmn/jk8gk6DGTG
View all headers
There is constantly changing information that the user needs, and it will be displayed on the same page. The information also needs to be displayed on the same page and can't be displayed on another page. I'll definitely try your idea.
--
Posted on Rocksolid Light


Subject: Re: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Fri, 4 Jun 2021 18:06 UTC
References: 1 2 3
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: Anonymous@news.novabbs.org (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Fri, 4 Jun 2021 18:06:17 +0000
Organization: Rocksolid Light
Message-ID: <d589f4d0b7149a9369dc351863b7683a@news.novabbs.org>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org> <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com> <89aeb51d658e37706ee2188cb922a635@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="28029"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$BqpXzYshOtt/CyYw5xhMEOtITW9ANscVnELNqiTdm8EdWuQj8Izyq
View all headers
could you embed the updated information in animated images ?
without js, i think iframes are the only way to achieve your goal, but iframes are best avoided.
--
Posted on Rocksolid Light


Subject: Re: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Sat, 5 Jun 2021 01:35 UTC
References: 1 2 3 4
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: Anonymous@news.novabbs.org (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Sat, 5 Jun 2021 01:35:45 +0000
Organization: Rocksolid Light
Message-ID: <283e9cf74d283f8a938e4881234c39c0@news.novabbs.org>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org> <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com> <89aeb51d658e37706ee2188cb922a635@news.novabbs.org> <d589f4d0b7149a9369dc351863b7683a@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="23559"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$BR5LlxKDpatmmB0T64/OXe8LQKmmLodlLvAKV5ggNS3M6UNwgQKjG
View all headers
Anonymous wrote:

could you embed the updated information in animated images ?

That sounds interesting. Can an animated image be updated as it's, uh, animating?

without js, i think iframes are the only way to achieve your goal, but iframes are best avoided.

Yes, iframes should really be the last resort for any site, but in this case it may work.
--
Posted on Rocksolid Light


Subject: Re: Auto Refresh
From: Retro Guy
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Sat, 5 Jun 2021 05:59 UTC
References: 1 2 3
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Sat, 5 Jun 2021 05:59:51 +0000
Organization: Rocksolid Light
Message-ID: <1e5db45e3f8855bcd7decc34fc695a0b@news.novabbs.org>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org> <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com> <89aeb51d658e37706ee2188cb922a635@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="11217"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$BFh0xe2CpE0bOyqBh5Bbuu3t3Rt6Ol4VMgmdzRFbl17VIJ1Jx7zBe
View all headers
Anonymous wrote:

There is constantly changing information that the user needs, and it will be displayed on the same page. The information also needs to be displayed on the same page and can't be displayed on another page. I'll definitely try your idea.

Is this a live chat? Not sure if you're the same person asking about that recently.

If so, maybe have the chat refresh, but to post have a "Post Message" button that reloads the page once to a static page with latest info, then when they hit "Submit" it reloads to the reloading page again.

Your "New Message" button would sned a hidden property to reload the page once, and if the page receives that hidden property, it doesn't refresh. Then when they hit "Submit", don't send the property and you're back to a live page.

Retro Guy
--
Posted on Rocksolid Light


Subject: Re: Auto Refresh
From: Anonymous
Newsgroups: rocksolid.shared.helpdesk
Organization: Rocksolid Light
Date: Sat, 5 Jun 2021 11:01 UTC
References: 1 2 3 4 5
Path: i2pn2.org!.POSTED.10.136.143.187!not-for-mail
From: Anonymous@news.novabbs.org (Anonymous)
Newsgroups: rocksolid.shared.helpdesk
Subject: Re: Auto Refresh
Date: Sat, 5 Jun 2021 11:01:23 +0000
Organization: Rocksolid Light
Message-ID: <3b0ab7cb0b6cddb8dadd0d84ac801c24@news.novabbs.org>
References: <6ff87d75e8754439985f1a2ee9afcc43@news.novabbs.org> <fbc2ed23413d1c66aad202e4ab513d31@news.novabbs.com> <89aeb51d658e37706ee2188cb922a635@news.novabbs.org> <d589f4d0b7149a9369dc351863b7683a@news.novabbs.org> <283e9cf74d283f8a938e4881234c39c0@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.143.187";
logging-data="8618"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$L4ILxDNRMlebB.841LNZpOlgWK1J70hythmkoIonccvw3U.LTKpsq
View all headers
That sounds interesting. Can an animated image be updated as it's, uh, animating?
Not really, I think. I overlooked your statement that the info is _constantly_ changing, and thought it might be enough to generate a gif, just displaying some stuff.
But then you could also convert the updated information constantly into a movie which is streamed as part of the page. This kind of streaming you can do in HTML5, methinks, without any nasty user side scripting. In case of a chat this would mean that texts send with the user form would have to converted into some movie format, and this movie would be embedded in the page. If no changes come, the same picture would be send over and over (kind of wasteful in terms of bandwidth :-)). Maybe a bit of a labored approach, but it should fulfill your needs.
--
Posted on Rocksolid Light


1
rocksolid light 0.7.2
clearneti2ptor