نمایش نتایج 1 تا 4 از 4

نام تاپیک: تفاوت session و cooki-less session

  1. #1

    تفاوت session و cooki-less session

    سلام
    میشه یه کم در مورد تفاوت session و cookie-less session توضیح بدین؟
    ممنون.

  2. #2

    using cookies can be risky. For various reasons, cookies do not work with a certain percentage of browsers used to request pages from your Web site.

    By default, session state relies on cookies. The session state facility uses the ASP.NET_SessionID cookie to track users as they move from page to page. If the cookie cannot be added to a user's browser, every request made by the user starts a new user session. Any session data associated with that user is lost when a new page is requested.

    The ASP.NET framework includes an option to enable cookieless sessions. Cookieless sessions enable you to take advantage of session state without relying on browser cookies.

    Cookieless sessions are implemented with a clever trick. When a user makes the first request to a Web site with cookieless sessions enabled, the URL used for the request is automatically modified to include the user's session ID. For example, if a user makes a request for http://mysite.com/mypage.aspx, the request is automatically modified to http://mysite.com/(nd4vqe2fnbmnwi451fwvda45)/mypage.aspx. The part of the URL that appears in parentheses is the session ID for the current user.

    After the session ID is embedded in the URL of the first page request, the session ID will continue to be associated with the user throughout his or her visit to the Web site. The session ID is passed as part of the base URL whenever the user clicks a relative link or submits a form.

    Because the session ID is automatically passed from one page to another, the user can be tracked without relying on a cookie. So, by using cookieless sessions, you get all the advantages of session state without the worries about browser incompatibility.

  3. #3
    کارت درست :flower:

  4. #4
    مرسی. :موفق:

تاپیک های مشابه

  1. مشکل در حذف فولدر و session
    نوشته شده توسط alireza6282 در بخش ASP.NET Web Forms
    پاسخ: 7
    آخرین پست: جمعه 17 فروردین 1386, 19:38 عصر
  2. آیا می شود Session ها رو بین ساب دومین های سایت ردو بدل کرد
    نوشته شده توسط shahram1980 در بخش ASP.NET Web Forms
    پاسخ: 10
    آخرین پست: سه شنبه 07 آذر 1385, 06:53 صبح
  3. مقایسه session
    نوشته شده توسط hassan1365 در بخش ASP.NET Web Forms
    پاسخ: 1
    آخرین پست: شنبه 04 آذر 1385, 16:31 عصر
  4. استفاده از session در php
    نوشته شده توسط akram_raeespour در بخش PHP
    پاسخ: 4
    آخرین پست: چهارشنبه 01 آذر 1385, 17:41 عصر
  5. TimeOut کردن یک Session خاص نه تمام Session های بکار رفته؟
    نوشته شده توسط Behsharp در بخش ASP.NET Web Forms
    پاسخ: 1
    آخرین پست: شنبه 08 مهر 1385, 11:16 صبح

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •