Session problem?!?


Posted on 16th Feb 2014 07:03 pm by admin

Hello All! I am very new to the php world but I am working on fixing things that a previous programmer screwed up for a site that I have. Let me explain what the current issue is. I believe it had to do with sessions:

On my site, I can go to login page and log in with a name I made just fine. If I use an older one, it says that the password or username is wrong, but when I click on boards, im logged in. (weird)

On the sign up page, when all the info is plugged in, the page hangs like its looking for something, then 2 min later it logs the person in.



Any help, advice or whatever would be appreciated thanks. As we get into this discussion, I will supply code that I have when I figure out why it's not working properly.

thanks

No comments posted yet

Your Answer:

Login to answer
164 Like 5 Dislike
Previous forums Next forums
Other forums

Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:

Code: header("Cache-Cont

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

Code Review - SQL and Insertion Attacks (Warning: Not for Newbs)
Hey guys,

Its been a while, I know. Use to love coming here to answer peoples questions, but

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

Custom CMS
This is a big custom CMS script I'd like to develop and would like some help atleast figuring out wh

db entry based on primary key
My "topics" table contains 10 entires
*--------------*
topicid topic
------

paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash