PDA

View Full Version : PHP Session


chchar
10-11-2002, 04:12 AM
Hello,

I'm evaluating to use session instead of
cookie to do the checking on user login
to my web page.

Basically, when user entered correct user
id and password, I'll store user id into
session.

But I noticed that, the disadvantage
of using session is I can't use history.back
or click back from the browser to back to
the previous page. The page will display
"Warning: Page has Expired ....."

Any one can help if I still want to
using session and I can use back button
from browser to the previous page.

Regards,
Char

Nightfire
10-11-2002, 02:16 PM
Can you show an example? If you're going to pages from a form and click back to the results page it will show the expired page, but it shouldn't show if it's 'normal' pages you're going to.