12, February 2012

SESSION not carring over to the next page. - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: SESSION not carring over to the next page.
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: SESSION not carring over to the next page.  (Read 955 times)
Google dot what?
*
Posts: 2
16 credits
Members referred : 0


« on: Dec 16, 2009, 11:54:57 pm »

k, it's been working all these days in my wamp local server(under Windows 7)..  i just moved the site to my hosting( Unix).. and this class stopped working.. after spending some time to figure out the problem, it looks like the Session is not carrying over to the next page..
Login works fine and redirects the user to the dashboard(when i checked the session in Login page its there), but then the dashboard says user not loaded!! i tried getting only the session, and seems session is not set..  Embarrassed
Code:
require_once($abs_path."inc/access.class.php");
$user = new flexibleAccess();
echo "\nxUserID = ".$user->get_property('full_name')."\n";
echo "TEST".$_SESSION['ak_userSessionValue'];

can anybody help me???
« Last Edit: Dec 17, 2009, 01:55:56 am by gvardan »
Google dot what?
*
Posts: 2
16 credits
Members referred : 0


« Reply #1 on: Dec 17, 2009, 03:56:19 am »

it's ok i fixed it by setting  "output_buffering=On" in php.ini...
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9467
Tags : session Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: SESSION not carring over to the next page.
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 12, 2012, 12:05:32 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.