How can directly login in the room

Last post 04-11-2005, 9:51 AM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  11-25-2004, 1:51 AM 2564

    How can directly login in the room

    Hi,
    I want to by pass the room page. I don't my users to go at the start page and then select any specific room. I want all of them to login in a single room without the room selection hazzel. My site authenticate the users and therefeore I don't have any problem related to user authentication.
    Regards,
    Ghazala
  •  11-25-2004, 11:30 AM 2573 in reply to 2564

    Re: How can directly login in the room

    Ghazala:

    At lease , you need a login page (for example , login.aspx)

    You could write the navigation code as :

    1. When the user navigate to the default.aspx , if the user is logon , then redirect to CuteChat/ChatRoom.Aspx?RoomId=1 , else , redirect to login.aspx
    2. in the login.aspx  , if the user logon OK , then redirect to the default.aspx
    That's all .

    Hope this helps
    Regards , Terry .
  •  04-10-2005, 9:57 PM 5547 in reply to 2573

    Re: How can directly login in the room

    I am in the same boat too. i am using an .asp based forum with cookies. say the cookie name is cookie01, user values =username,pwd . how can i have single logon ?? i am a bit weak in .dot .net. details explaination if possible.
     
    thanx
  •  04-11-2005, 9:51 AM 5560 in reply to 5547

    Re: How can directly login in the room

    You should write a class inherits UserAdapter , and imlement the GetUserUniqueName using the cookies .
     
    Regards , Terry .
View as RSS news feed in XML