Jump to content

session question


justAnoob

Recommended Posts

Lets say I have a button on a page. That button runs a script which takes about 5 seconds to complete. At the end of the script, the user is still on that same page after a refresh of the browser. Lets say this is my session var below

 

$_SESSION['waiting'] = "Please be patient";

 

Is there a way echo that session on the page while the script is running, using PHP?

Link to comment
https://forums.phpfreaks.com/topic/184715-session-question/
Share on other sites

Actually, I came up with another idea, but right now it is only working in FF and not IE. I'm using an animated gif, havig it display when the submit button is clicked, the animation works great in FF, but in IE it just shows the first frame of the animation, not the whole clip? I hate IE.(sometimes) Any ideas why it won't work in IE. sorry to get off subject in the PHP section.

Link to comment
https://forums.phpfreaks.com/topic/184715-session-question/#findComment-975188
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.