Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Multiple tabs Issue Using TEMPDATA
Yogesh Gupta
Jan 20 2018 12:55 AM
140
Reply
Hi Friends,
I have an MVC app and I've run into a problem with modern multitab browsers.
I have a screen that creates a model and stores it in this.TempData["MyViewModel"].
then open the same screen in a 2nd tab and as it calls the same controller methods this.TempData["MyViewModel"] is once again set.
If I then go back to Tab 1 and refresh the page, I am presented with the data I entered in Tab 2.
Is there a way to store data in TempData uniquely per browser tab ?
Caching is not fit in my scenario. because i am working on Hotel booking portal.
and user open multiple tab for compair the hotel price and booking.
so in my case each of the tab working separately.
Any ideas/advice would be most welcome.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How We can Use ActiveX control for all Browser
how to select multiple checkboxlist after display linegraph