?
Solved

authorize.net SIM

Posted on 2004-10-10
5
Medium Priority
?
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How important is it to take extra precautions to protect your online business? These are some steps you can take to make sure you're free of any cyber crime.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

752 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