PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Sign Up Session Not Clearing

s2Member Plugin. A Membership plugin for WordPress®.

Sign Up Session Not Clearing

Postby hcibrent » September 1st, 2011, 7:22 pm

Hey Cris or Jason,

I am noticing in the setup and design of our registration process when I fill out the form and then submit, I can go back (hit back button) and the forms still have the info in place. ANy ideas on how to make the sessions time out or clear after sign up? I just want maximum security on the SSL links for my clients.

Thanks for everything, lovin the Pro Plugin!
User avatar
hcibrent
Registered User
Registered User
 
Posts: 9
Joined: August 26, 2011

Re: Sign Up Session Not Clearing

Postby Cristián Lávaque » September 1st, 2011, 11:28 pm

Thanks for the kudos!

I'll email Jason your question, but you may want to google about this too. http://www.google.com/search?q=how+to+c ... ter+submit
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Sign Up Session Not Clearing

Postby Jason Caldwell » September 2nd, 2011, 6:42 pm

Each browser handles this differently, but you can try setting no-cache headers in your theme,
for specific Pages and/or Posts where s2Member Pro Forms appear.

WordPress comes with a nice utility that makes this easy: nocache_headers()

Try creating this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_action 
("template_redirect", "my_nocache_headers", 1);
function my_nocache_headers ()
    {
        $one_of_these_post_or_page_ids = array (1, 2, 3);

        if (is_singular ($one_of_these_post_or_page_ids))
            nocache_headers ();
    }
?>
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron