Re: [PHP] Trouble with Sessions

2002-02-21 Thread Todor Stoyanov

That's right
Send these headers after the session_register()

header(Cache-Control: );
header(pragma: );

Leaving the values empty will allow the browser to decide if to get the
result page from the cache. It works for me fine, but I'm not sure in case
with SSL secured page.


Richard Baskett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Well actually I believe if you do a header pragma cache or another way of
caching the page it should work.  If I am wrong someone please correct me..
I don¹t want to give out bad advice :)

Rick

The old law about an eye for an eye leaves everybody blind. - Dr. Martin
Luther King, Jr.

 From: Steven Walker [EMAIL PROTECTED]
 Date: Wed, 20 Feb 2002 19:57:48 -0800
 To: Phillip S. Baker [EMAIL PROTECTED]
 Cc: PHP Email List [EMAIL PROTECTED]
 Subject: Re: [PHP] Trouble with Sessions

 Phillip,

 I had the same problem. It's even worse in IE5 since no error was
 displayed, just an empty form. To circumvent this, I put PHP controls
 for navigating. To go back, a button called 'modify' resubmits the data
 to the form page. On my site, if the user clicks the back button, they
 get hosed what can you do?

 Any one else know?

 Steven J. Walker
 Walker Effects
 www.walkereffects.com
 [EMAIL PROTECTED]

 On Wednesday, February 20, 2002, at 07:36  PM, Phillip S. Baker wrote:

 Hey All,

 I just converted my login process to sessions.
 It works great.

 However I am having one annoying issue come up.

 The site is a secure site. So each page has an include to check to see
 if a validated session is there. If not a login forma appears and so on.
 It all works just fine.

 However I am coming up against a problem with forms now.

 I have a searchable listing of members.
 So there is a form to search for particular members.
 I preform the search, get a listing of possible matches.

 Now I click on a member name to get more info about him bringing up
 another page.
 If I hit the back button on the browser to get the search results again
 I get the following message

 Warning: Page has Expired The page you requested was created using
 information you submitted in a form. This page is no longer available.
 As a security precaution, Internet Explorer does not automatically
 resubmit your information for you.

 To resubmit your information and view this Web page, click the Refresh
 button.

 Under my previous scheme where login was through the use of cookies.
 I did not get the above message.

 Anyone have any ideas how to get ride of this message and just allow
 the back button to work like it did before?

 (Oh I get similiar messages in NN 6.2 or NN 4.+)

 Phillip


 -- PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Trouble with Sessions

2002-02-20 Thread Phillip S. Baker

Hey All,

I just converted my login process to sessions.
It works great.

However I am having one annoying issue come up.

The site is a secure site. So each page has an include to check to see if a 
validated session is there. If not a login forma appears and so on.
It all works just fine.

However I am coming up against a problem with forms now.

I have a searchable listing of members.
So there is a form to search for particular members.
I preform the search, get a listing of possible matches.

Now I click on a member name to get more info about him bringing up another 
page.
If I hit the back button on the browser to get the search results again I 
get the following message

Warning: Page has Expired The page you requested was created using 
information you submitted in a form. This page is no longer available. As a 
security precaution, Internet Explorer does not automatically resubmit your 
information for you.

To resubmit your information and view this Web page, click the Refresh button.

Under my previous scheme where login was through the use of cookies.
I did not get the above message.

Anyone have any ideas how to get ride of this message and just allow the 
back button to work like it did before?

(Oh I get similiar messages in NN 6.2 or NN 4.+)

Phillip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Trouble with Sessions

2002-02-20 Thread Steven Walker

Phillip,

I had the same problem. It's even worse in IE5 since no error was 
displayed, just an empty form. To circumvent this, I put PHP controls 
for navigating. To go back, a button called 'modify' resubmits the data 
to the form page. On my site, if the user clicks the back button, they 
get hosed what can you do?

Any one else know?

Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]

On Wednesday, February 20, 2002, at 07:36  PM, Phillip S. Baker wrote:

 Hey All,

 I just converted my login process to sessions.
 It works great.

 However I am having one annoying issue come up.

 The site is a secure site. So each page has an include to check to see 
 if a validated session is there. If not a login forma appears and so on.
 It all works just fine.

 However I am coming up against a problem with forms now.

 I have a searchable listing of members.
 So there is a form to search for particular members.
 I preform the search, get a listing of possible matches.

 Now I click on a member name to get more info about him bringing up 
 another page.
 If I hit the back button on the browser to get the search results again 
 I get the following message

 Warning: Page has Expired The page you requested was created using 
 information you submitted in a form. This page is no longer available. 
 As a security precaution, Internet Explorer does not automatically 
 resubmit your information for you.

 To resubmit your information and view this Web page, click the Refresh 
 button.

 Under my previous scheme where login was through the use of cookies.
 I did not get the above message.

 Anyone have any ideas how to get ride of this message and just allow 
 the back button to work like it did before?

 (Oh I get similiar messages in NN 6.2 or NN 4.+)

 Phillip


 -- PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Trouble with Sessions

2002-02-20 Thread Richard Baskett

Well actually I believe if you do a header pragma cache or another way of
caching the page it should work.  If I am wrong someone please correct me..
I don¹t want to give out bad advice :)

Rick

The old law about an eye for an eye leaves everybody blind. - Dr. Martin
Luther King, Jr.

 From: Steven Walker [EMAIL PROTECTED]
 Date: Wed, 20 Feb 2002 19:57:48 -0800
 To: Phillip S. Baker [EMAIL PROTECTED]
 Cc: PHP Email List [EMAIL PROTECTED]
 Subject: Re: [PHP] Trouble with Sessions
 
 Phillip,
 
 I had the same problem. It's even worse in IE5 since no error was
 displayed, just an empty form. To circumvent this, I put PHP controls
 for navigating. To go back, a button called 'modify' resubmits the data
 to the form page. On my site, if the user clicks the back button, they
 get hosed what can you do?
 
 Any one else know?
 
 Steven J. Walker
 Walker Effects
 www.walkereffects.com
 [EMAIL PROTECTED]
 
 On Wednesday, February 20, 2002, at 07:36  PM, Phillip S. Baker wrote:
 
 Hey All,
 
 I just converted my login process to sessions.
 It works great.
 
 However I am having one annoying issue come up.
 
 The site is a secure site. So each page has an include to check to see
 if a validated session is there. If not a login forma appears and so on.
 It all works just fine.
 
 However I am coming up against a problem with forms now.
 
 I have a searchable listing of members.
 So there is a form to search for particular members.
 I preform the search, get a listing of possible matches.
 
 Now I click on a member name to get more info about him bringing up
 another page.
 If I hit the back button on the browser to get the search results again
 I get the following message
 
 Warning: Page has Expired The page you requested was created using
 information you submitted in a form. This page is no longer available.
 As a security precaution, Internet Explorer does not automatically
 resubmit your information for you.
 
 To resubmit your information and view this Web page, click the Refresh
 button.
 
 Under my previous scheme where login was through the use of cookies.
 I did not get the above message.
 
 Anyone have any ideas how to get ride of this message and just allow
 the back button to work like it did before?
 
 (Oh I get similiar messages in NN 6.2 or NN 4.+)
 
 Phillip
 
 
 -- PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php