Using PHP in a JS menu to redirect if no SESSION_NO found

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Thu Apr 24, 2003 6:35 am

at youre place i'm just asking about user_id where user_id it's not session_id it's a session_name by the way you may save with long life time cookie on user computer with name of user an each pache just check session_name that's all
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Thu Apr 24, 2003 11:04 pm

Hi again!

oops!....
first you may collect in one session_name few [/b]session_register[/b] name
and second session_cookie you may save not on user computer... you may do that at server!
:wink:

P.S.
by the way why to you need check exactly that <? if (session_id=="){do thelogin ;} ?>?
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 4 guests