HighDots Forums  

ASP to PHP DMX differences

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss ASP to PHP DMX differences in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jimmy Collins
 
Posts: n/a

Default ASP to PHP DMX differences - 06-27-2004 , 11:06 AM






Hello,

I've got a feeling this is going to be one of those 'could do better' kind
of things, but there you go.

I'm coming from an ASP dev background so am used IIS and session variables -
just trying to dip into PHP.

I can't get session variables (namely MM_Username) to display in a
subsequent page - this is not a functional neccesity but I'd like to know
why not. I'm aware of the session_start(); requisite.

Simple as you like login page followed by a 'success' page - this is the
page that refuses to display the session variable.

Any help most welcome.

Thnaks(sic)



Reply With Quote
  #2  
Old   
Gordon Mackay
 
Posts: n/a

Default Re: ASP to PHP DMX differences - 06-28-2004 , 11:32 AM






Jimmy Collins wrote:
Quote:
Hello,

I've got a feeling this is going to be one of those 'could do better' kind
of things, but there you go.

I'm coming from an ASP dev background so am used IIS and session variables -
just trying to dip into PHP.

I can't get session variables (namely MM_Username) to display in a
subsequent page - this is not a functional neccesity but I'd like to know
why not. I'm aware of the session_start(); requisite.

Simple as you like login page followed by a 'success' page - this is the
page that refuses to display the session variable.

Any help most welcome.

Thnaks(sic)



Hi there

Try this : <?php echo $_SESSION['MM_Username']; ?>


Gordon M


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.