Master:
# 1    Session does not work web site on a dedicated server                  
sunny
Online no
State
Grouping Member
Class class4
Score 116
Wealth 103
Posts 68
Login 23:38:47
one web site work, but another does not work - I set a session, but cannot pass to a second page. Pls help!
Hits: 517, Date: 2009-07-09 05:29:13
[Agree] ( 16 ) [Against] ( 16 )

# 2    Could be the problem of php configure in server                  
luke1
Online no
State 453
Grouping Super Admin
Class class4
Score 250
Wealth 62
Posts 230
Login 07:37:57
I don't think we need to tell you some things like these:
put session_start() on the second page, session_ID() problem, etc.
Hits: 516, Date: 2009-07-09 08:26:29
[Agree] ( 16 ) [Against] ( 16 )

# 3    You need to ini_set in second domain                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
If you set session.cookie_domain in apache configuration for main domain, for example, abc.com

Then, you need to ini_set it in web page of the second domain, like this:
ini_set("session.cookie_domain",".secondone.com.au");
Hits: 514, Date: 2009-07-11 06:46:18
[Agree] ( 16 ) [Against] ( 16 )

1 - 3 [ 3]

Reply: Session does not work web site on a dedicated server

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing