J
Jerry
I am sorry for posting this message again. But I really want to hear more
responses.
---
My company is designing a new ASP.Net web application. Becasuse of the
concern of abusing Session variable(will consume memory), our team is going
to use following apporach to avoid it. Some of team members think it is
unnecessary and don't agree with this approach. I would like to hear your
oppinion about this. Or if you use any of process to limit the developers
using session variables in the ASP web application. Thank you in advance.
Following is our proposal process.
1. Add the session variable names to the webconfig file. Only one person in
the team( 7 developers) is allowed to add it. So if other developers in the
team need to add new session variable, they need to ask that person to add
it in the Webconfig file first.
2. Create a wrapper class for getting and setting the session variable
values. This wrapper class will check if the session variable exists in the
webconfig file. If not, error returns. Developers ,instead of calling
Session object directly, will call the wrapper class method.
Regard
Jerry
responses.
---
My company is designing a new ASP.Net web application. Becasuse of the
concern of abusing Session variable(will consume memory), our team is going
to use following apporach to avoid it. Some of team members think it is
unnecessary and don't agree with this approach. I would like to hear your
oppinion about this. Or if you use any of process to limit the developers
using session variables in the ASP web application. Thank you in advance.
Following is our proposal process.
1. Add the session variable names to the webconfig file. Only one person in
the team( 7 developers) is allowed to add it. So if other developers in the
team need to add new session variable, they need to ask that person to add
it in the Webconfig file first.
2. Create a wrapper class for getting and setting the session variable
values. This wrapper class will check if the session variable exists in the
webconfig file. If not, error returns. Developers ,instead of calling
Session object directly, will call the wrapper class method.
Regard
Jerry