session objects

M

morc

hi,

i was wondering how to put an array of ints into an Object.

session.setAttribute(String,Object);

how can i make it so that i can retrieve whats in the attribute into an
array of ints.

meaning something along the lines of

int[] = session.getAttribute(String);

i know that code won't work. if anyone knows what i mean and can help
me, please post.
thanks alot
-morc
 
M

morc

well im confused as to why i have a double post
but anyways
you were right it worked... i don't know how come it slipped my mind
the first time. i could have sworn i tried it and it didn't work. oh
well THANK YOU.

another quick question though.
is there anyway to catch when a praticular session is over?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top