session variables lost between pages or use same variables

Posted by user222333 on Stack Overflow See other posts from Stack Overflow or by user222333
Published on 2011-01-03T16:32:28Z Indexed on 2011/01/03 16:53 UTC
Read the original article Hit count: 606

Filed under:
|
|

Hi,

Yesterday I learn many thing from you, especially from Marc and my problem was solved ( session variables lost between pages or use same variables ).

But now I continue asking: I don't want to use Session ID(session.use_trans_sid = 1) between pages. But also I don't want to use same session variables for different users at same application and also I don't want lost session variables between pages for same user.

Is it possible? If yes how? Thanks for everybody for any help. Best regards.

I have Wamp Server(2.2.11) with PHP(5.2.9.-2).

My php.ini's session settings at below:

[Session]
session.save_handler = files
session.save_path = "c:/wamp/tmp"
session.use_cookies = 0
;session.cookie_secure =
;session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly = 
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

© Stack Overflow or respective owner

Related posts about php

Related posts about session