Solved

authorize.net SIM

Posted on 2004-10-10
5
202 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 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