image varification
-
hi every buddy i am using image signature in a page . in situation of wrong text input, image must be change without refreshing all data of page. then how to reload image signature on the page in that situation where real image in on the other page . please give me a solution
Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected
-
hi every buddy i am using image signature in a page . in situation of wrong text input, image must be change without refreshing all data of page. then how to reload image signature on the page in that situation where real image in on the other page . please give me a solution
Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected
RajeevKumarSharma wrote:
without refreshing all data of page
This means AJAX, or it means changing the image URL using javascript, if you know what the other image is when the page is generated.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
RajeevKumarSharma wrote:
without refreshing all data of page
This means AJAX, or it means changing the image URL using javascript, if you know what the other image is when the page is generated.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.
Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected
-
actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.
Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected
well, imgvar.aspx does not exist anymore. So, you need to know what image you want to show, either on the server ( which means an AJAX call ) or have it embedded in the script if you know it, so you can just set it on the client. But, if you need to store some data so the next time the user goes to imgvar.aspx they see a different image, then you probably need the AJAX call if you don't want a postback. imgvar.aspx will need to rebuild itself to show the new image you want it to show, and it will need to do that in response to state that is stored ( probably in your database, I am guessing ), by the ajax call from registration.aspx.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.
Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected
Refer a capcha implementation here: http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx[^] To refresh the image, simply have a JavaScript function which sets a blank.gif and set SRC value as a new call to aspx page with a random number to prevent caching.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson