Gettign an Session value in DSPWM IS46 version

Hi All,

How i can print the Current Session Id Value in my DSP Page .
I am using the WM IS4.6.I need to Insert some values into DB based on the Session Id value.

thanks
ramesh

Check out the wM Java API:

com.wm.app.b2b.server.Session sess = com.wm.app.b2b.server.Service.getSession();
String id = sess.getSessionID();