Jump to content

Recommended Posts

I have a Create Account form/page which stores the referring page in a $_SESSION variable.

 

When the Create Account form/page is submitted, it is submitted onto itself, but my code assigns the Referring Page only if the form is displayed as a GET.  So when the form is submitted as a POST it shouldn't touch $_SESSION['referringPage'].

 

I am trying to use $_SESSION['referringPage'] on my Log-In page, but keep getting an "Undefined Index" error.

 

It occurred to me that my $_SESSION seems to be getting trashed.

 

Any ideas what could cause that?

 

(Sorry, but my code is several pages and pretty involved, so I'm hoping something obvious pops up from what I just described?!)  :-[

 

Thanks,

 

 

 

Debbie

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.