Jump to content


Photo

Is it possible to exclude a single page from a session?


  • Please log in to reply
1 reply to this topic

#1 mschrank

mschrank
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 05 October 2006 - 06:25 PM

I have one page that I would like to run 'outside' of the user session. Is this possible? The active X control I am using for the site seems to crash when it tries to load pages in a session, so I was thinking the quick fix may be to simply have the page that serves the activex control from the DB run outside the session.

However, I can't do session_destroy() because I use sessions for the rest of the site. Any ideas? Am I being clear enough in terms of what I want to do?

Thanks

Matthew

#2 paul2463

paul2463
  • Members
  • PipPipPip
  • Advanced Member
  • 955 posts
  • LocationUK

Posted 05 October 2006 - 06:31 PM

you have to have session_start(); for them to be involved in sessions, remove it from the page you do not want involved in the sessions..
you cannot affect the past but you can ruin a perfectly good present by worrying about the future

*********************************************************************
The <A HREF="http://www.php.net/d...php">MANUAL</A> is actually a useful resource




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users