Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Session Problem..

    hi

    i want to redirect user to login page as soon as
    SESSION_END fires.. i have tried with response.redirect in
    session_end event but its of no use.. ne clue how to do
    this ..


    thankx
    vrushal
    Vrushal Guest

  2. Similar Questions and Discussions

    1. #25574 [Bgs]: empty session.save_path = problem (session.use_only_cookies = 1)
      ID: 25574 User updated by: markus.welsch@suk.de Reported By: markus dot welsch at suk dot de Status: Bogus Bug...
    2. #25574 [Opn->Bgs]: empty session.save_path = problem (session.use_only_cookies = 1)
      ID: 25574 Updated by: iliaa@php.net Reported By: markus dot welsch at suk dot de -Status: Open +Status: ...
    3. #25574 [Opn]: empty session.save_path = problem (session.use_only_cookies = 1)
      ID: 25574 User updated by: markus.welsch@suk.de Reported By: markus dot welsch at suk dot de Status: Open Bug Type:...
    4. #25574 [NEW]: empty session.save_path = problem (session.use_only_cookies = 1)
      From: markus dot welsch at suk dot de Operating system: Linux 2.4.22 (Debian 3.0r1) PHP version: 4.3.3 PHP Bug Type: Session...
    5. Session problem when setting session variables in files that are in different directories
      I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with sessions. What I am building is a loginsystem and I need to save...
  3. #2

    Default Re: Session Problem..

    Hi,

    If had the same problem. You can either use WebForms authentication which
    will automatically redirect the user to a specified login page if the
    session is timedout.
    Or you use the 'Application_OnAcquireRequestState' Event. Ask if
    (IsNewSession) then redirect. This worked for me.

    cu
    Bjoern Wolfgardt

    "Vrushal" <vsvartak@yahoo.com> schrieb im Newsbeitrag
    news:076d01c358c9$1d119c30$a101280a@phx.gbl...
    > hi
    >
    > i want to redirect user to login page as soon as
    > SESSION_END fires.. i have tried with response.redirect in
    > session_end event but its of no use.. ne clue how to do
    > this ..
    >
    >
    > thankx
    > vrushal

    Bjoern Wolfgardt Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139