|
-
Jul 9th, 2001, 01:07 PM
#1
Thread Starter
Frenzied Member
Session Variable Clarification
Okay... I have a question...
There is an ASP that lets you modify an employees contact info. You select the employee (say Joe) from a drop down box and click on a link and boom, you are in a form to update some stuff.
If you say "File -> New -> Window" in IE (and I'm sure the same in Netscape) then you now have two browsers open to the same modify employee page. Lets call these browser instance A and B.
Okay, go back in B. Select a different employee (say Bob). Change the information in A and submit. A will go back to the start page by default. If you look in the list of employee, there are now two Joes. The original one, and the one that just overwrote Bob.
The problem is, Session Variables. How can I set these up to limit themselves to just one instance of a browser and avoid this problem?
My immediate solution is to use hidden inputs instead of session variables.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
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
|
Click Here to Expand Forum to Full Width
|