Shared Web Method

R

Ron Herhuth

I'm using Ajax Callbacks which require a webmethod attribute and require
that the method be declared as public shared. In order to access session
variable values I have to use httpcontext.cusrrent.session...

Isn't this a bad practice in a web application? Isn't there a possiblility
of session crossup?

What is the correct way to handle this scenerio?

Thanks,
Ron
 
P

Patrice

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top