Solved

authorize.net SIM

Posted on 2004-10-10
5
199 Views
Last Modified: 2013-11-29
hello,

wat i m doing is
1) using session based user autentication
2) redirecting user to payment form on authorize.net server
3) response coming back to my server and i m checking response.and displaying receipt page

my problem is i am losing all my session variables when user back on my server for recipt page.
is there any way to keep my sesssion vairables there?

Thanks ,
Lk
0
Comment
Question by:lokeshv
  • 2
5 Comments
 
LVL 6

Expert Comment

by:margant
ID: 12277949
Yea,
Solution 1:
when u do the redirect to the other server keep a hidden frame so that the session is still present.

Solution 2:
Write a cookie with all session variables, this way you can get all the data back. I recommend Solution 1 the most though.

Best of luck,
AM
0
 
LVL 4

Author Comment

by:lokeshv
ID: 12286868
hi

i am doing something like this and its not working can u check wats wrong ?

<frameset rows="100%,*" border="0" frameborder="0">
<frame src="pay_add_location.php" name="main" scrolling="auto">
<frame src="test.php" noresize name="hidden" scrolling="auto">
<noframes><body>You need to upgrade to a newer browser that supports frames to view this site. Sorry!</body></noframes>
</frameset>

Thanks
0
 
LVL 6

Accepted Solution

by:
margant earned 100 total points
ID: 12288545
lokeshv,

How does ur example look like and what doesnt work.
1. Noframes should come outside of frameset
2. Try framespacing=0 in the frameset.

This is a neat tutorial on the topic of hidden frames:
http://www.15seconds.com/issue/991230.htm

Best of luck
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now