Hi, I was curious if anyone knew how to start a session from the webform, and post the session data on a redirect page in a hidden form.
When starting a session, is there anything I need to do other than activate the php filter module, and select it as the input type?
Does drupal automatically start a session? or do you have to start it in each php snipp.
How can I tell if the session data is being saved on the server?
Are these questions to advanced for me, and if you need to make a buck I'll try to get you something, in cash or trade for your help.
I have the basics from this thread: http://drupal.org/node/275857#comment-2818004
But I am getting no results using the last post one listed. I posted on that thread as well, but am in a pinch and if anyone can help me out I'd appreciate it.
Comments
missing something
An example:
This snippets are only intended for use with the Webform 2.x module. They will not work with CCK or other modules.
According to that from the webform doc, I should be fine no matter the fieldset i'm in. However it's not posting or printing. So I suppose the problem is either, I don't have drupal configured correctly to use session data. Is there a way to see what session data I have stored?
Session Data
I called all the session info:
And searched through it and didn't find the session infor from my webfor additional processing. Anyone know what I'm missing? Is it something I need to enable in settingsphp?
Testing
I used this test to see if session data was saving:
http://petermoulding.com/how_to_carry_data_from_one_page_to_another_usin...
It saved. and I was able to see the data in the return from: <?php
echo "dumping SESSION
";
var_dump($_SESSION);
echo "
";
So let's look at that code a little more...
Everything checked out
The only problem I found was the fact that I created the webform before allowing the php filter? Could that be it, because I cloned and recreated and it worked fine? I spent 4 hours trying to figure it out. I still don't know.