Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: refresh
Write your message below:
Just curious as to the purpose of the refresh variable in the email links.
Ex. http://ourdomain.info/hsk/ticket.php?tr ... resh=91281
I see (by looking at sample emails) that it isn't a static response. Can you explain more about it? I don't recall reading it in the documentation and I didn't see it in a forum search. Thanks!
Refresh variable in URL
Moderator: mkoch227
Re: Refresh variable in URL
It's quite simple - the "refresh" variable is just a random number between 10000 and 99999. It's not used for any purpose except to trick (force) the browser to refresh page and not show any cached/old information.
Yes, when a session is started PHP does send "do not cache" headers to the browser, but some browsers may ignore that headers so showing them a different URL each time does the trick because the browser treats "page.php?refresh=12345" as a different page than "page.php?refresh=54321".
Yes, when a session is started PHP does send "do not cache" headers to the browser, but some browsers may ignore that headers so showing them a different URL each time does the trick because the browser treats "page.php?refresh=12345" as a different page than "page.php?refresh=54321".
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools