getSession(); help!

crinch
crinch's picture

Joined: 2008-03-12
Posts: 21
Posted: Wed, 2008-03-12 10:15

Hi,

I have download gallery2 'gallery-2.2.4-developer.tar.gz' module for drupal but did not integrate it yet with drupal. I have put this folder in localhost and run the project. I have put 2 images in the gallery album. There is option on left menu 'Print on PhotoWorks.com', when we click on this link, it takes on the www.photoworks.com page with 'jsessionid=xxxxxxxxxxxxx'. I am not getting understand how this session id is being created and how this whole layout works for 'Print on PhotoWorks.com'.
I think this line is being used to create the session id......?
$session =& $gallery->getSession();
this is the object of GalleryStub but this class has no function like...getSession() so where is this and what it is performing.
I have spent much time to know about this but in vain.
Waiting for your reply.

Thanks
CRINCH[b]
[b]