Board index » dotnet-framework-aspnet » Synchronization between pages?
|
CKKwan
|
|
CKKwan
|
Synchronization between pages?
2008-06-22 04:46:03 PM
1. A user log in to my page. 2. Right click at one of the link and bring up another IE window. 3. The two IE Windows are under the same session. 4. I can access the same session valirables using Page.Session["abc"]. Question: Can I synchronize them using lock (Page.Session) { Page.Session["abdc"]; } If not, how? TIA - |
| sturyuu5eye
Registered User |
2008-06-22 08:12:00 PM
Re:Synchronization between pages?
Munna,
Thanks for the reply. I just wish to Synchronise the access. As I have mentioned earlier, there will have multiple pages accessing this Session object and I wish it to be synchronized. Do not want a supprise where the content is changed in the middle of no where. TIA On Jun 22, 5:09 pm, Munna <munna...@gmail.com>wrote: QuoteOn Jun 22, 2:46 pm, CKKwan <ckk...@my-deja.com>wrote: |
| clintonG
Registered User |
2008-06-22 11:57:00 PM
Re:Synchronization between pages?
Please repeat after me:
I have a shitty architecture and the roof is going to fall in someday and kill everybody. <sturyuu5eye@gmail.com>wrote in message Munna, Thanks for the reply. I just wish to Synchronise the access. As I have mentioned earlier, there will have multiple pages accessing this Session object and I wish it to be synchronized. Do not want a supprise where the content is changed in the middle of no where. TIA On Jun 22, 5:09 pm, Munna <munna...@gmail.com>wrote: QuoteOn Jun 22, 2:46 pm, CKKwan <ckk...@my-deja.com>wrote: |
| bruce barker
Registered User |
2008-06-23 02:17:00 PM
Re:Synchronization between pages?
there is no need, asp.net handles this. it only allows 1 request access
to the same session at a time, any other are queued up and processed after the first one completes. -- bruce (sqlwork.com) sturyuu5eye@gmail.com wrote: QuoteMunna, |
