开发者

Role of Request and Response object

开发者 https://www.devze.com 2023-02-03 07:40 出处:网络
I am building a web page for creating an account for new user, as user fill all the \"Must\" information, he/she clicks on create button, after submitting the values, page will be posted back to 开发者

I am building a web page for creating an account for new user, as user fill all the "Must" information, he/she clicks on create button, after submitting the values, page will be posted back to 开发者_JS百科itself. Do I need to add some cookie into the Request object and fetch it from Response object to check whether the Creations was successful or not and I can display a success message.

or by which mean I can display a creation success message on the same page.

Thanks, Vishal


Which technology you are working on. In ASP/ASP.net, you can simply write as

Response.Write("Your Message");


If it is webforms you are using you could just add a panel (<asp:Panel />) to your markup and has it disabled/invisible as default. When you have handled your event handler just enable your panel and make it visible. The panel should contain your message.

0

精彩评论

暂无评论...
验证码 换一张
取 消