on 10-11-2010 8:18 PM
Hi Experts,
I have created a stateful BSP application and I am using an Application class in it. When I execute the page for the first time in my system its executing the OnCreate method but again when I close the browser and execute this application again itu2019s not calling the onCreate method.
Please help on this .
The session details are stored in a cookie - therefore simply closing and reopening the browser still passes the same cookie so the back-end thinks this is the same session. This means it does not rerun the OnCreate method.
If you want you can search and you will find many posts about logging out of a BSP application.
IMHO - I think you should avoid building stateful BSP applications. I stick with stateless.
Cheers
Graham Robbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It means the instance of current application is store in buffer (why do not know )
i would suggest to use OnInitialzation rather that OnCreate methodfor your requirement...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.