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

PHP, jAVASCRIPT setting input values, why isn't it working?
Hi:

I am calling this javascript:
<script language="javascript">

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

[function.file]: failed to open stream: No such file or directory
Okay I wrote this little script to upload a csv file that is located on my webhosts server to a mysq

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

PHP and SMS
Hi all forum members. I am new here and am unsure what category shoild I post this in.
Moderator

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

How to submit a form to the same page?
I have a table containing information about books in my library and this table has the following col

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa

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