Welcome Guest, Not a member yet? Register   Sign In
Sessions dilemma.
#4

[eluser]PenguinMan98[/eluser]
I'm kinda doing the same thing and getting the same problem.

What's wrong with how I'm 'attacking' my application?

LOGIC:
User submits a form.
Form is checked and if good, user is re-directed to a new page.
The new page does an RPC to check some of the form data.
If the data doesn't check out,
--set a session variable,
--redirect the user back to the form.
Display the error message on the form.

What Happens:
User submits a form.
Form is checked and if good, user is re-directed to a new page.
The new page does an RPC to check some of the form data.
If the data doesn't check out,
--set a session variable,
--!<SESSION IS DESTROYED FOR SOME REASON>!
--redirect the user back to the form.
Does not display the error message on the form.

I check the session variable before I set it and after I set it. It is empty before and has the value I assigned afterward. Then somehow, during the re-direct, the session is destroyed.

Help me understand why this does not work please.


Messages In This Thread
Sessions dilemma. - by El Forum - 12-18-2007, 12:38 PM
Sessions dilemma. - by El Forum - 12-18-2007, 01:56 PM
Sessions dilemma. - by El Forum - 12-18-2007, 02:00 PM
Sessions dilemma. - by El Forum - 12-28-2007, 04:53 PM
Sessions dilemma. - by El Forum - 03-14-2008, 10:29 AM
Sessions dilemma. - by El Forum - 04-18-2008, 04:28 AM
Sessions dilemma. - by El Forum - 11-19-2009, 10:17 AM
Sessions dilemma. - by El Forum - 11-19-2009, 10:37 AM
Sessions dilemma. - by El Forum - 11-19-2009, 10:55 AM
Sessions dilemma. - by El Forum - 11-19-2009, 11:19 AM
Sessions dilemma. - by El Forum - 11-19-2009, 11:26 AM
Sessions dilemma. - by El Forum - 11-19-2009, 12:53 PM
Sessions dilemma. - by El Forum - 11-19-2009, 04:42 PM
Sessions dilemma. - by El Forum - 11-19-2009, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB