Posts: 565
Name: surajit ray
Location: inside the heart of my friends
|
session_write_close() , terminates the session , but it writes the session before that. Usually when a script terminated the session data get stored automatically. In any case it is not happening, we can use session_write_close() to force it to store the data and close the session.
I thought you are redirecting to next page, but you are using submit i guess. Best will be if you write your session variables in some page variables on top of the script, and then use the function.
heres a link for you to check:
http://oscarm.org/news/detail/1877-a...h_php_sessions
This is not a problem of your code , but the problem with the browser setting.
__________________
I am not smart, that's why i don't act smart
Please login or register to view this content. Registration is FREE
|