| | |
locking webpage and redirect to another website without leaving the previous page
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2007
Posts: 55
Reputation:
Solved Threads: 3
locking webpage and redirect to another website without leaving the previous page
0
#1 Apr 28th, 2009
Hello,
On my project that deal with online payment system, i want that when a user is buying goods from a website called e.g www.buy.com and want to pay using my payment website called www.pay.com when the user from www.buy.com choose to use my payment solution i want to redirect the from www.buy.com to my secure webpage without leaving www.buy.com page i.e when the user who choose to use www.pay.com for her payment to be able to enter her account detail on www.pay.com. i want lock the current (www.buy.com) webpage then display some part of my form in www.pay.com that contain username and password field to validate the buyer account in www.pay.com. Reason for this is that i dont want the expose the user password at www.buy.com that is the reason why i am redirecting from www.buy.com website to my own secure website but i dont want to leave www.buy.com before the transaction is completed.
the HTML code to lock the screen of a webpage on postback is:
<html>
<head>
<style type="text/css">
.LockOff {
display: none;
visibility: hidden;
}
.LockOn {
display: block;
visibility: visible;
position: absolute;
z-index: 999;
top: 0px;
left: 0px;
width: 105%;
height: 105%;
background-color: #ccc;
text-align: center;
padding-top: 20%;
filter: alpha(opacity=75);
opacity: 0.75;
}
</style>
<script type="text/javascript">
function skm_LockScreen(str)
{
var lock = document.getElementById('skm_LockPane');
if (lock)
lock.className = 'LockOn';
lock.innerHTML = str;
}
</script>
</head>
<body>
<h2>Overlay Test Page</h2>
<p>
Please enter your name:
<input type="text" name="name" />
</p>
<p>
<input type="submit" value="Click Me!" onclick="skm_LockScreen('We are processing your request...');" />
</p>
<div id="skm_LockPane" class="LockOff"></div>
</body>
</html>
But instead of We are processing your request i want a small form that will be able to display a textbox and a submit button.
Or give me another way of redirecting from the previous website to my own page and after the transaction i will redirect back to the source page.
Thanks your contribution will reall help me a lot
On my project that deal with online payment system, i want that when a user is buying goods from a website called e.g www.buy.com and want to pay using my payment website called www.pay.com when the user from www.buy.com choose to use my payment solution i want to redirect the from www.buy.com to my secure webpage without leaving www.buy.com page i.e when the user who choose to use www.pay.com for her payment to be able to enter her account detail on www.pay.com. i want lock the current (www.buy.com) webpage then display some part of my form in www.pay.com that contain username and password field to validate the buyer account in www.pay.com. Reason for this is that i dont want the expose the user password at www.buy.com that is the reason why i am redirecting from www.buy.com website to my own secure website but i dont want to leave www.buy.com before the transaction is completed.
the HTML code to lock the screen of a webpage on postback is:
<html>
<head>
<style type="text/css">
.LockOff {
display: none;
visibility: hidden;
}
.LockOn {
display: block;
visibility: visible;
position: absolute;
z-index: 999;
top: 0px;
left: 0px;
width: 105%;
height: 105%;
background-color: #ccc;
text-align: center;
padding-top: 20%;
filter: alpha(opacity=75);
opacity: 0.75;
}
</style>
<script type="text/javascript">
function skm_LockScreen(str)
{
var lock = document.getElementById('skm_LockPane');
if (lock)
lock.className = 'LockOn';
lock.innerHTML = str;
}
</script>
</head>
<body>
<h2>Overlay Test Page</h2>
<p>
Please enter your name:
<input type="text" name="name" />
</p>
<p>
<input type="submit" value="Click Me!" onclick="skm_LockScreen('We are processing your request...');" />
</p>
<div id="skm_LockPane" class="LockOff"></div>
</body>
</html>
But instead of We are processing your request i want a small form that will be able to display a textbox and a submit button.
Or give me another way of redirecting from the previous website to my own page and after the transaction i will redirect back to the source page.
Thanks your contribution will reall help me a lot
Re: locking webpage and redirect to another website without leaving the previous page
0
#2 May 2nd, 2009
why not use an iframe on the the buy.com site to host the page on pay.com?
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: how to calculate the time duration of wav file in minutes
- Next Thread: can't view flash buttons in ASP.NET
Views: 924 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor asp asp.net bc30451 bottomasp.net browser button c# c#gridviewcolumn checkbox click commonfunctions confirmationcodegeneration courier css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist edit editing expose feedback flash form formatdecimal forms formview google grid gridview homeedition hosting iframe iis index javascript jquery list listbox login microsoft migration mono mouse mssql multistepregistration news numerical object objects panelmasterpagebuttoncontrols parent problem project radio reportemail richtextbox rotatepage save schoolproject search security session silverlight smartcard software sql-server sqlserver2005 suse textbox tracking unauthorized update validation vb.net video videos view virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice xml youareanotmemberofthedebuggerusers





