Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: bulliedog on June 01, 2004, 10:31:12 AM

Title: What is this code doing?
Post by: bulliedog on June 01, 2004, 10:31:12 AM
I have the following code on my reply and start new topic screens.  It obviously results in a blank button, but what what is it dong there?  I am using SMF Beta 5.

<img src="http://www.mysite.com/forum/Themes/default/images/blank.gif" alt="" id="fetchSessionTemp" />


Edited to add:
The button appears right next to the Post and Preview buttons.
Title: Re: What is this code doing?
Post by: Grudge on June 01, 2004, 10:33:21 AM
It is a cunning way of keeping your session alive. Every so often javascript changes the src of that image to a keep alive php script that attempts to keep your session going. If you remove it you will get more timeouts.
Title: Re: What is this code doing?
Post by: bulliedog on June 01, 2004, 10:34:54 AM
I get it now...thanks Grudge.  I guess my problem is that I over-wrote the truely blank.gif with a blank button.

*sigh*