Click to See Complete Forum and Search --> : CSS auto refresh code with session id.


Jobs2k
11-28-2008, 07:10 AM
I have done a bit of poking around and can't seem to find a code that will work in the way I need it to.

I have designed a CSS file hosted locally that is accessed by an external site that is out of my control. I have attempted placing various codes (meta and JavaScript) into the CSS file but they all require the altering of the original HTML files.

Is it possible to set up a simple auto refresh for one frame in a page, and still keep the same session id, while not adjusting anything but the CSS?

If it helps anyone, this code is for a skin used in an on-line strategy game called 'Ogame (http://www.ogame.org/)'.

infinityspiral
12-04-2008, 09:59 AM
The only way I've found to refresh css is to assign a version number in the link to load the actual css file

<link href="styles.css?version=2" rel="stylesheet" type="text/css" />

Jobs2k
12-07-2008, 06:28 AM
Thank you for the reply but I am looking for a way to refresh the page using the CSS but keeping whatever session ID I have at the time without touching the HTML.
I will give the code a try though, just in case it does work.

I don't know if this is even possible...