How to restrict session variable b/w tabs of a browser?
-
hi friends, help me to restrict session variable to share among the tabs of a browser. thanks in advance surender
No Defeat Is Final Until You Stop Trying!.......
-
hi friends, help me to restrict session variable to share among the tabs of a browser. thanks in advance surender
No Defeat Is Final Until You Stop Trying!.......
I think you'll have some trouble doing that, as the session depends on the process your browser is open in. You'd be better trying to handle having two tabs open.
-
I think you'll have some trouble doing that, as the session depends on the process your browser is open in. You'd be better trying to handle having two tabs open.
here the scenario is like, m maintaining client ids in session, m doing some processing on one client id and if i open a new tab in the browser i can see the same client id in the second tab. i want to restrict this. pls suggest me how to do that. thanks inadvance surender
No Defeat Is Final Until You Stop Trying!.......
-
here the scenario is like, m maintaining client ids in session, m doing some processing on one client id and if i open a new tab in the browser i can see the same client id in the second tab. i want to restrict this. pls suggest me how to do that. thanks inadvance surender
No Defeat Is Final Until You Stop Trying!.......
surender.m wrote:
i want to restrict this.
You can't as it is controlled by the browser.
Navaneeth How to use google | Ask smart questions
-
here the scenario is like, m maintaining client ids in session, m doing some processing on one client id and if i open a new tab in the browser i can see the same client id in the second tab. i want to restrict this. pls suggest me how to do that. thanks inadvance surender
No Defeat Is Final Until You Stop Trying!.......
You can't. The work-arounds are all ugly as well... 1. Don't use session 2. Use viewstate to keep data in (since viewstate is tied to a single page instance) 3. Use Querystrings 4. Use a custom property bag solution which utilizes a combination of viewstate/querystrings to maintain keys across.. 5. tell your users not to use multiple tabs.
--- Don't be irreplaceable. If you can't be replaced, you can't be promoted.