Session variables

Results 1 to 3 of 3

Thread: Session variables

  1. #1
    Join Date
    Dec 1969

    Default Session variables

    Hello,<BR> I am giving value for a session variable in a page which resides in site say and this file redirects to another page which resides in but when i call the session variable in, it is not displaying the value(means it doesn&#039t have the value for that session variable).<BR> what can be the reason for this and how do i get the session variable value in some other site when it is declared in diferent site?<BR><BR>Thanks in advance,<BR>keerthi

  2. #2
    Join Date
    Dec 1969

    Default RE: Session variables

    you can&#039t use session variables across sites. you&#039d have to pass information in the querystring or by a form POST<BR><BR>1. Session variables are held in server memory. switch server and lose variable<BR><BR>2. Sessions are tracked using cookies. cookie security means you can&#039t share them across domains<BR><BR><BR>j

  3. #3
    Join Date
    Dec 1969

    Default Even *MORE* restrictive...

    &nbsp;<BR>3. Session variables are associated with both a user session *AND* an Application (that is, a virtual directory). Switch Applications, even on the same machine using the same server, and you lose the Session values.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts