Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
need help with session variables
Old 11-07-2008, 02:16 AM Re: need help with session variables
jito's Avatar
MY LIFE IS 'i' LIFE

Posts: 565
Name: surajit ray
Location: inside the heart of my friends
Trades: 0
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
jito is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to need help with session variables

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08222 seconds with 11 queries