Click here to Skip to main content
15,920,688 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: can we store viewstate in masterpage? Pin
Abhishek Sur14-Nov-09 23:22
professionalAbhishek Sur14-Nov-09 23:22 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 23:34
Suresh Pirsquare14-Nov-09 23:34 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur14-Nov-09 23:35
professionalAbhishek Sur14-Nov-09 23:35 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur15-Nov-09 0:09
professionalAbhishek Sur15-Nov-09 0:09 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare15-Nov-09 0:34
Suresh Pirsquare15-Nov-09 0:34 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur15-Nov-09 0:42
professionalAbhishek Sur15-Nov-09 0:42 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare15-Nov-09 1:06
Suresh Pirsquare15-Nov-09 1:06 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur15-Nov-09 6:05
professionalAbhishek Sur15-Nov-09 6:05 
Ok..

As per your requirement is concerned, I think database is the best solution. Even If I was doing this application, I will always use Database.

Actually session/viewstate cannot be used to do what you want.. .thats for sure.
Other than that, you can use Application object which will reflect to all the session, ... But believe me, from my personal experience I would suggest not to use it, because Server memory is very important, and if your application is using excessive server memory, it may be of high probability of getting the site down any time.

So, You have only 2 option,
1. Cookie (Which you dont want) : you can store as many customer ids as you want. As this is stored in client side, performance will not be hampered for the site.
2. Database / XML file in server : I think this is the best way. Its secured and everyone in your situation would have chosen this.


Now it depends on you which one you choose.
Let me know about it.
Rose | [Rose] Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare15-Nov-09 6:51
Suresh Pirsquare15-Nov-09 6:51 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur15-Nov-09 7:08
professionalAbhishek Sur15-Nov-09 7:08 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare15-Nov-09 17:56
Suresh Pirsquare15-Nov-09 17:56 
AnswerRe: can we store viewstate in masterpage? Pin
Aftab Sindhi15-Nov-09 5:21
Aftab Sindhi15-Nov-09 5:21 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare15-Nov-09 6:39
Suresh Pirsquare15-Nov-09 6:39 
Questionrotate image in image control Pin
mehrnoosh14-Nov-09 18:59
mehrnoosh14-Nov-09 18:59 
AnswerRe: rotate image in image control Pin
Abhijit Jana14-Nov-09 19:23
professionalAbhijit Jana14-Nov-09 19:23 
GeneralRe: rotate image in image control Pin
mehrnoosh14-Nov-09 20:30
mehrnoosh14-Nov-09 20:30 
AnswerRe: rotate image in image control Pin
Abhishek Sur14-Nov-09 22:27
professionalAbhishek Sur14-Nov-09 22:27 
GeneralRe: rotate image in image control Pin
mehrnoosh15-Nov-09 18:40
mehrnoosh15-Nov-09 18:40 
GeneralRe: rotate image in image control Pin
Abhishek Sur15-Nov-09 21:07
professionalAbhishek Sur15-Nov-09 21:07 
QuestionRead data from html file Pin
Satish - Developer14-Nov-09 18:01
Satish - Developer14-Nov-09 18:01 
AnswerRe: Read data from html file Pin
N a v a n e e t h14-Nov-09 18:22
N a v a n e e t h14-Nov-09 18:22 
GeneralRe: Read data from html file Pin
Satish - Developer14-Nov-09 18:39
Satish - Developer14-Nov-09 18:39 
GeneralRe: Read data from html file Pin
N a v a n e e t h14-Nov-09 20:24
N a v a n e e t h14-Nov-09 20:24 
AnswerRe: Read data from html file Pin
Abhishek Sur14-Nov-09 22:33
professionalAbhishek Sur14-Nov-09 22:33 
Questionquestion about image controle Pin
kimo code14-Nov-09 17:55
kimo code14-Nov-09 17:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.