Reply to PHP & SESSION ISSUE

Your name:

Reply:


Posted by Ken on 01/09/06 20:24

Hi,

Here is the problem that I am having.
I work on an application which is a newsletter editor, you login and you are
able to create newsletters based on templates.

Everything works fine. The problem I have is that I made a dynamic image
script.
This script is called using javascript.

I have an <img src=""> which src is replaced with the script name and
parameters to display the dynamic image live to the user when he chooses
parameters from the dropdowns.

example format:

image.php?color=red&size=10&text=something

Anyhow, this works fine on IE browser, when I post everything appears
correctly.
But in Firefox, whatever was saved in a session variable on that page, gets
lost on the next.

If I remove my dynamic image script from that page before I post, the values
remain intact.

I have no idea how to fix this.
I tried to put session_write_close(); before doing
include_once('image.html'); (which contains the html to load the image.php)
And it still fails. I also removed session_start(); from my image.php so
that shouldn't affect it right?

Funny part, is that after I proceed, everything else in the session is saved
but that part.

Anyone has any idea?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация