Search found 5 matches

by smithygreg
Wed Oct 17, 2007 9:27 am
Forum: PHP - Code
Topic: Why aren't my session variables available on other pages?
Replies: 9
Views: 1021

Argh!

Still no luck... I took out all HTML..I even removed all php from the page and now it's just a page with 3 lines that sets the session variable then forwards to the next page... Could this have something to do with the fact that I am running this on WAMP and debugging it from Dreamweaver? I can't be...
by smithygreg
Wed Oct 17, 2007 1:45 am
Forum: PHP - Code
Topic: Why aren't my session variables available on other pages?
Replies: 9
Views: 1021

Update!

Update!
Even though everywhere I have looked, they say not to use this, I tried this using session_register() and I still have the same problem...
HELP!
THANKS!
by smithygreg
Wed Oct 17, 2007 1:27 am
Forum: PHP - Code
Topic: Why aren't my session variables available on other pages?
Replies: 9
Views: 1021

Still not working...

Hmm..Still not working...
This is my code for the redirect now...

Code: Select all

$_SESSION['IsAdmin']=1;
session_write_close();
header( 'Location: AdminIndex.php' ) ;
Could it be the redirect that is killing it? What would be another way of going about this?
by smithygreg
Wed Oct 17, 2007 1:13 am
Forum: PHP - Code
Topic: Why aren't my session variables available on other pages?
Replies: 9
Views: 1021

Session is started...

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] The sessi...
by smithygreg
Wed Oct 17, 2007 12:12 am
Forum: PHP - Code
Topic: Why aren't my session variables available on other pages?
Replies: 9
Views: 1021

Why aren't my session variables available on other pages?

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hey There...