how to share a Session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agphoto
    New Member
    • Sep 2006
    • 5

    #1

    how to share a Session

    hello !

    i am to share a same session value used by different user request to a script.

    > as when first request come then session is created and then other request come with the same subject and then another session is created with other session id,

    .but i want to use the same session value created at first request for other same request by different user later ..how this can be done..

    please give any suggestion or sample of code etc.

    thanks to all in advance.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Are you saying that you want all users to have the same session Id??
    I can't really believe that! Hackers don't even have to hyjack a session any more in your system, it's all open to anyone who wants to screw up your sessions.

    Ronald :cool:

    Comment

    • agphoto
      New Member
      • Sep 2006
      • 5

      #3
      Basically i want to run a counter by the use of session

      As on first request i set the session_counter = 1
      then i want whenever other different user send request he found the session_counter = 1 and after his request it become session_counter = 1++;

      i do not want to use any file and database system, as with them i can do that. but i am looking from sessions ....

      how to.....??

      Comment

      Working...