-
Same session browser issue.
Hi,
I have experienced a problem when working in multiple browsers,
ie. When working in a web form, I open a new browser from the exising browser (control +N) and after that If i made changes in the second form and saved it, then I look in the 1st browser the changes will effect on the 1st browser also. My questions are:
1) Is this second browser gets the same session from the 1st browser.
2) due to this we can save null values in the db even there are validation restrictions, so how to solve this issue?
pls advice..
-
A man goes to the doctor and says "it hurts when I do this." The doctor says, "then don't do that."
I really have no idea, actually, about sessions interacting with windows opened via CTRL-N. I do know that if your validation scheme is allowing null values in the database, then you have a faulty validation scheme. Any code that talks to the database should be isolated in a "data class", or a "data layer" in your application. Any code that writes to the database should perform its own validation. Nothing the user does on the browser side should be able to circumvent your server-side validation routines.
You're asking the wrong question. It doesn't matter if the user opens 16 windows and hits the submit button 5 times, or has JavaScript disabled, or hits the back button, etc. The error is in your application. Review your stored procedures and server-side validation code.
-
Yes cookie sessions are the same in the both browsers, therefore the session in the server is the same.
Similar Threads
-
Replies: 1
Last Post: 08-25-2002, 09:56 PM
-
By ariel in forum ASP.NET
Replies: 0
Last Post: 01-24-2002, 01:40 PM
-
Replies: 2
Last Post: 11-09-2000, 10:05 AM
-
By Todd B - Agendum Software in forum vb.announcements
Replies: 0
Last Post: 09-13-2000, 10:18 AM
-
By Ananda in forum ASP.NET
Replies: 0
Last Post: 07-31-2000, 11:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks