- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi,
I m a newbie to ASP.NET. I m building a web app as as frint end to business management application db (SAP Business One using the DI server API). Here is the requirement I have:
1. Each time I connect to the DI API I get a session ID. I want to store this at the applciation level and use it to read/write data back to the db. There could be 100 user logged into the website from different client machines and the session id must be accessible across all the sessions.
Here is the approach I m considering:
1. Add a variable Application["DIserverSessi
2. Anytime one of the users load a relevant page to connect to the DI server, check the variable to see if there is a valid session id. if not connect to DI api to get a session id and store it in this variable.
3. Anytime the DI server is connected, clear the Application["DIserverSessi
Woudl this work? Please advise.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: carl_tawnPosted on 2009-10-14 at 09:25:07ID: 25572298
Sounds fine to me.