Passing session/querystring/cookie variables
Last Post 01-05-2012 06:55 AM by marcvanzee. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Resolved
marcvanzeeUser is Offline
wading in the water
wading in the water
Posts:24
Avatar

--
12-21-2011 02:34 AM
    Hi all,

    I want to create the following payment module:

    ProcessA --> LandPage --> Payment --> ProcessAContinued
                                |
                     (not logged in)
                                |
                        LoginForm --->Payment --> ProcessAContinued

    In the following text I have indicated the steps in the process with bold.

    The idea is that any administrator can use this module in the following way: if in some process a payment is required, the administrator should create a page that contains a Dynamic Form (ProcessA) which has three variables that will be passed along using session variables to the LandPage, which has been created by me. One of these variables is called "url", and represents the url that user will be redirected to when the payment process is successful (ProcessAContinued).

    The Landpage checks whether the user is logged in. If the user is not logged in (not logged in), he will be presented with a Dynamic Login form (LoginForm). When the login succeeds, the user should continue with the payment (Payment) and when that succeeds, he should be redirected to the "url" (ProcessAContinued).

    The problem is that I don't want to lose the session variables that are being passed from ProcessA to LandPage when a user is logging in. My question is therefore as follows: does Dynamic Login have a possibility to pass variables in some way?

    Thanks in advance,
    Marc
    marcvanzeeUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    01-05-2012 06:55 AM
    I have sort of found the solution, but it was more something that I understood incorrectly. I'll post my findings in case it might be of use for anyone!

    A session variable can be retrieved even if it has been not passed explicitly on the previous page. This is actually pretty logical (hence the name SESSION variable), but I did not know this :-).


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi