Nattyboy
06-07-2002, 06:15 AM
Dear All,
This is My First Message to this Forum. Hope any of you can help me. coming to the point. I am creating an Visual Basic Application from which i will open up my Site in Internet Explorer, the reason why am doing this is coz I don't want my Site to be opened directly from a web browser IE or Netscape or anything .. the reason for this also is many r using the site from linux or netscape even though the information said to them was to use in IE as many validations r done in Javascript and not working in Linux browsers. So i decided this way, after executing the Application it opens up the site and also creates a Session Variable for eg Session("Checkuser") = "Natty" .. so in my default page i will check whether the Session is Empty or Not ! .. if its not empty then i will allow him to view my Page else i will Say "Access Denied". Even my default.asp page i have put all the code in Visual Basic and made it as DLL so no one can view that page code also and its safe to be put on the server.
Kindly Help me how to create a session variable from my application :confused: or else tell me how can i do the above process . i have already tried one option by passing the variable as "default.Asp?CheckUser=Natty" and it works fine put if i go and type the same in the URL it allows him.
I guess there should be some way for this. Please Help Me !! Please ..
Thanks in Advance !!
- Natty
This is My First Message to this Forum. Hope any of you can help me. coming to the point. I am creating an Visual Basic Application from which i will open up my Site in Internet Explorer, the reason why am doing this is coz I don't want my Site to be opened directly from a web browser IE or Netscape or anything .. the reason for this also is many r using the site from linux or netscape even though the information said to them was to use in IE as many validations r done in Javascript and not working in Linux browsers. So i decided this way, after executing the Application it opens up the site and also creates a Session Variable for eg Session("Checkuser") = "Natty" .. so in my default page i will check whether the Session is Empty or Not ! .. if its not empty then i will allow him to view my Page else i will Say "Access Denied". Even my default.asp page i have put all the code in Visual Basic and made it as DLL so no one can view that page code also and its safe to be put on the server.
Kindly Help me how to create a session variable from my application :confused: or else tell me how can i do the above process . i have already tried one option by passing the variable as "default.Asp?CheckUser=Natty" and it works fine put if i go and type the same in the URL it allows him.
I guess there should be some way for this. Please Help Me !! Please ..
Thanks in Advance !!
- Natty