₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,627 members, 8,441,517 topics. Date: Wednesday, 08 July 2026 at 04:11 PM

Toggle theme

_SESSION For Log In Refuses To Work On Real Server - Programming - Nairaland

Nairaland ForumScience/TechnologyProgramming_SESSION For Log In Refuses To Work On Real Server (1110 Views)

1 Reply (Go Down)

_SESSION For Log In Refuses To Work On Real Server by Nobody: 10:57pm On Jan 14, 2016
I'm kinda new in php

I'm building this member reg. logging in system from various codes I've gathered online. I was relatively satisfied with my work and Decided to host. but the login will not work. it works perfect on local host. the script is supposed to log a user in on successful authentication and redirect to indix.php echoing 'welcome, $_session ['username']...' just like Nairaland else echo invalid details

but instead it is redirecting to index.php and still showing 'welcome, guest...' It's really annoying becos it was working very fantastic on Local host.

pls do you think it has to do with my host (ipage.com)

I'm really confused my plans was to announce d forum b4 last weekend

any advice?

thanks
Re: _SESSION For Log In Refuses To Work On Real Server by ChinenyeN(m):
Write it in caps/uppercase... $_SESSION["username"]. Also, make sure you actually have PHP available wherever you're hosting it.
Re: _SESSION For Log In Refuses To Work On Real Server by Nobody: 5:17am On Jan 15, 2016
ChinenyeN:
Write it in caps/uppercase... $_SESSION["username"]. Also, make sure you actually have PHP available wherever you're hosting it.
Thanks bro

but I don't think that's actually the case, this is not my real syntax. like I said everything is perfect on xamp
Re: _SESSION For Log In Refuses To Work On Real Server by Nobody: 6:34am On Jan 15, 2016
Let's see your code.
Re: _SESSION For Log In Refuses To Work On Real Server by maekhel(m): 7:43am On Jan 15, 2016
Yungwizzzy:
Thanks bro

but I don't think that's actually the case, this is not my real syntax. like I said everything is perfect on xamp
You have to show the codes that handle the logging in so as to know how to help you.
Re: _SESSION For Log In Refuses To Work On Real Server by Nobody: 1:52pm On Jan 15, 2016
When you guys post programming issues without a code, or screenshot or whatever.
Re: _SESSION For Log In Refuses To Work On Real Server by greatMicheal: 10:33pm On Jan 16, 2016
@Yungwizzzy, your php code is alright. The problem you are having is from your host iPage. I have the same issue, tried everything humanly possible but to no avail. I have to abandon them for a new host. Google PHP session issue with Ipage and see what I mean.
1 Reply

I Am Offering To Work On Two Website For Free To Boost My PortfolioDoes AJAX Technology Work On Mobile Phones???How Can I Download My Whatsapp Call Log. I Use An Iphone 5s234

Review A Nairalander's Mobile App - Events MeterA Frontend/interface Developer Needed For Immediate EmploymentNeed Help With These: $_SERVER["PHP_AUTH_USER"] And $_SERVER["PHP_AUTH_PW"]