Question

Locked

Php Sesstions

By gayani.edirisinghe@gmail. ·
In my application I want to pass the values of 1st page to 2nd page. I used sessions for that.
my code is like this
1st page:
session_start();
$_session['name']="some one";

2nd page
echo $_session['name'];

but here I unable to read the answer from second page. Are there any wrong with me? Please instruct me to correct this.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums