Jump to content

PHP session help rq'd

thekeemo
Go to solution Solved by Hazy125,

Before I continue making test webpages to do stuffs and check

10 minutes ago, thekeemo said:

and I have the pages to do this to make sure they are logged in

On these pages you ARE using session_start() right?

43 minutes ago, SSL said:

 

Your should have a cookie called PHPSESSID. Can you report what the value of this cookie does when you reload the script in question (after already authenticated)?

bug is everywhere now

here is what the file has

<?php
session_start();
include_once ("/random/lib/random.php");
include_once ("connection.php");
include_once ("/user-info.php");
?>
<link rel="stylesheet" type="text/css" href="/stylesheet.css">
<script src="sorttable.js"></script>
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
?>

 

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

59 minutes ago, thekeemo said:

e8vag2kg4cnob69fvg0bo9hgj5

its different everytime

says it expires when the browsing session ends

 

It looks very much like session_start() is getting preempted by some output to the browser. Can you please try putting session_start() alone on the very first line of the script in question? You will need to comment it out of requiered.php temporarily.

Link to comment
Share on other sites

Link to post
Share on other sites

14 minutes ago, SSL said:

 

It looks very much like session_start() is getting preempted by some output to the browser. Can you please try putting session_start() alone on the very first line of the script in question? You will need to comment it out of requiered.php temporarily.

Tried

Did not fix

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, thekeemo said:

Tried

Did not fix

 

Anything in the PHP error log?

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, SSL said:

 

Anything in the PHP error log?

no errors except for deprecated on one of the pages

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, SSL said:

 

Anything in the PHP error log?

and now it works

what the actual hell is going on

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, thekeemo said:

and now it works

what the actual hell is going on

 

No idea.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, SSL said:

 

No idea.

server upgrades

(facedesk)

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, thekeemo said:

server upgrades

(facedesk)

 

Nice.

 

That's why I like to develop locally.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, SSL said:

 

Nice.

 

That's why I like to develop locally.

Got a server for it. Gave it to a friend. Got another one. Got "sidetracked

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, thekeemo said:

Got a server for it. Gave it to a friend. Got another one. Got "sidetracked

 

VMs tho.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, SSL said:

 

VMs tho.

That would require me to use more than 60gb of my 4tb though!

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, thekeemo said:

That would require me to use more than 60gb of my 4tb though!

 

Uh...no.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, SSL said:

 

Uh...no.

I meant 60 gb total..

currently at 58

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, thekeemo said:

I meant 60 gb total..

currently at 58

 

Dear me. tsk tsk.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, SSL said:

 

Dear me. tsk tsk.

and apparently the updates happened last week

and again only the original file is being affected

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, thekeemo said:

and apparently the updates happened last week

and again only the original file is being affected

 

Try clearing your browser cookies?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×