Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: some browsers run ASP scripts twice when accessing a page


Message #1 by ebickford@i... on Thu, 26 Apr 2001 08:01:28
Hi all,



I am rather new to ASP scripting so this might sound like a dumb question 

but ...



We have a part of our web site that users need to sign up for in order to 

gain access.  I have a simple ASP script that emails (using SendMail) them 

a password, stores their info in an Access DB and sets a few cookies on 

their machine.



The problem is that sometimes (almost always if they are using Netscape 

and sometimes with IE too) they get 2 emails and two entries get made in 

the DB.  This really causes problems as the 2 emails have different 

passwords (randomly generated) and only one will work as next time they 

log in, the database is searched until it finds their username (the  first 

entry) and checks for a password hence it never sees the second password.



Anyhow, I wonder if this is something others have seen.  Any suggestions 

would be greatly appreciated.



thanks!

Ed (rookie ASPer in Vancouver)

  Return to Index