Jump to content

problem in session handling


rahulmehta

Recommended Posts

hii ,

 

m using extjs and php in my login form on index.php and post action is checklogin.php if successful login than i return to main.php

 

and during action of login form in checklogin.php m setting the session variable of userid which is m not getting on main.php

 

and every time i refresh the page it generate new session id .  why this happening..

 

my session variable in php.ini are

 

session

Session Support enabled

Registered save handlers files user

Registered serializer handlers php php_binary wddx

 

Directive Local Value Master Value

session.auto_start Off Off

session.bug_compat_42 On On

session.bug_compat_warn On On

session.cache_expire 180 180

session.cache_limiter nocache nocache

session.cookie_domain no value no value

session.cookie_httponly Off Off

session.cookie_lifetime 0 0

session.cookie_path / /

session.cookie_secure Off Off

session.entropy_file no value no value

session.entropy_length 0 0

session.gc_divisor 1000 1000

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.hash_bits_per_character 5 5

session.hash_function 0 0

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path c:/wamp/tmp c:/wamp/tmp

session.serialize_handler php php

session.use_cookies Off Off

session.use_only_cookies On On

session.use_trans_sid 0 0

 

 

please help thank

 

regards

rahul

Link to comment
https://forums.phpfreaks.com/topic/205385-problem-in-session-handling/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.