wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes using the value of a session variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "using the value of a session variable" Watch "using the value of a session variable" New topic

using the value of a session variable

rrn rose

Joined: Apr 14, 2009
Posts: 10
in my website (php , htm l , sql)
i have used the following php code to derive the basename of page

if i am on the page www.test.com/index.php $_SESSION['page'] has the value index.php.

i want to use that value in the '----------- ' html code shown below

how can i do that?
please help
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
How would you write out a php variable to the page? You would do the same thing with php. Write it to the page.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

"rrn rose", please check your private messages for an important administrative matter.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: using the value of a session variable
Similar Threads
difficulty in login in one attempt
Accessing php session variable in JavaScript
php , html ...
Page redirect question...
Need to implement Session time out in PHP code