Hi EveryOne,
I have small doubt.My doubt is if the user is logged in one website.After logging into the website if i am copying url of that page and pasted inside the same browser again i want every time asking user id and pwd.How can we develop that type of structure?
Loading


Sukesh MarlaRank #461 · 5.4K reputationPosted Oct 31, 2012, 9:00 AM EDT
once user login successfully store his login Id in ViewState.,And each time you navigate to some other page use CrossPagePostback, and try to get the values from last page and stiore it in current page's viewstate.
Let me know if you found difficulty in understandng the solution.
My Solution
1)Just use viewstate instead of session
2)Each time you make oage navigation,try to transfer current view state values to next page using some custom logic(i suggest cross page postback will be one solution)
ChanikyaGuptha121 reputationPosted Nov 5, 2017, 8:09 PM EST