Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 10-28-2009 15:00:28

Tanushiheadbash
Member
From: Stirling, Scotland
Registered: 07-20-2009
Posts: 82

Accessing Session id and the class tree page

Hi
Hope someone can help me with two wee things.
1) I have had to modify a form to run directly in the skin- it works fine but there was a hidden field in the original xhtml includes one that populated with the session id.
I thought (obviously wrongly) using a simple <?php echo session_id(); ?> would do the job but it didn't . I know its in the $_COOKIE['sid']. I take it I need to access a class to get to the session id "properly". Any idea what I need to do?
2) There was a class tree page I seen a few weeks back but can't find it now onthe site. Can someone tell me where its gone? Thought it was on the documentation page.
thanks

K

Offline

 

#2 10-28-2009 15:10:50

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Accessing Session id and the class tree page

The session ID is available in the  global variable (available using $this->globals['core_session.sid']).

I've not created or published a class/method tree for version 7. The one for version 6 is, and has been, available .

Offline

 

#3 10-28-2009 16:32:51

Tanushiheadbash
Member
From: Stirling, Scotland
Registered: 07-20-2009
Posts: 82

Re: Accessing Session id and the class tree page

Many thanks Dave

K

Offline

 

Board footer