DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Per-Session Cookies????

  1. #1
    Greg Rothlander Guest

    Per-Session Cookies????


    What is this? Per session cookies! I thought we called them session variables.
    I am having a problem using session "variables" because it seems that a
    user can now disable them.

    Since when was this an option? IE 5.5 maybe?

    I see it now but I don't remember being able to disable session variables
    in the past. Did Microsoft change something here and I just have not came
    across it until now?

    Probably so but how are developers checking if someone has cookies disabled
    but per-session cookies enabled? Checking for cookies enabled has been simple
    with a write, redirect, and read of the cookie. I can imagine doing something
    similar with the session variables but I wanted to get some feedback before
    I change anything.

    Thanks for any input,
    Greg Rothlander

  2. #2
    Brenda Woods Guest

    Re: Per-Session Cookies????


    Greg,
    Actually Session Variables and Cookies are not the same. User's are able
    to configure their Internet Explorer to now allow Cookies. The difference
    is, Cookies are saved on the client's pc, whereas Session variables are saved
    on the Server. I suggestion discontinuing the use of your cookies and moving
    over to the use of Session variables.
    You can assign a session variables as such:

    Session("Name") = Textbox1.value

    Hope this helps. I use session variables rather extensively.

    B

    "Greg Rothlander" <grothlander@austin400.com> wrote:
    >
    >What is this? Per session cookies! I thought we called them session variables.
    > I am having a problem using session "variables" because it seems that a
    >user can now disable them.
    >
    >Since when was this an option? IE 5.5 maybe?
    >
    >I see it now but I don't remember being able to disable session variables
    >in the past. Did Microsoft change something here and I just have not came
    >across it until now?
    >
    >Probably so but how are developers checking if someone has cookies disabled
    >but per-session cookies enabled? Checking for cookies enabled has been

    simple
    >with a write, redirect, and read of the cookie. I can imagine doing something
    >similar with the session variables but I wanted to get some feedback before
    >I change anything.
    >
    >Thanks for any input,
    >Greg Rothlander



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center