meaning of /?scid

P

Pierre

Hi all,

i am trying ms arcticle 321503 on how to use a mdb file to password protect
pages.

In the article all the link to pages are like

<a href="/?scid=secure.asp">

If i use that syntax i cannot acces any page, i am redirected to the defaut
page

if i use

<a href="secure.asp">

i am directed to the page correctly.

What is the use of the /?scid

How come it dont work (with fp 2000)

regards,
Pierre
 
S

Stefan B Rusynko

Just remove the scid
- error in script

PS
that KB article has been updated to remove it - refresh your browser
See http://support.microsoft.com/default.aspx?scid=kb;en-us;321503




| Hi all,
|
| i am trying ms arcticle 321503 on how to use a mdb file to password protect
| pages.
|
| In the article all the link to pages are like
|
| <a href="/?scid=secure.asp">
|
| If i use that syntax i cannot acces any page, i am redirected to the defaut
| page
|
| if i use
|
| <a href="secure.asp">
|
| i am directed to the page correctly.
|
| What is the use of the /?scid
|
| How come it dont work (with fp 2000)
|
| regards,
| Pierre
|
|
|
 
P

Pierre

thanks

If i try the demo, i can validate my identity but after that, when
the program return to the calling page
(with Response.Redirect Session("REFERRER"))
i have a page not found error message

Do you understand it?

Regards





Stefan B Rusynko a écrit dans le message
 
S

Stefan B Rusynko

Have you session value for Session("REFERRER") on the calling page using

Session("REFERRER") = Request.ServerVariables("URL")

And a correct path to the LOGON page in
Const LOGON_PAGE = "/logon/logon.asp"

Test it using
Response.write Session("REFERRER")

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


| thanks
|
| If i try the demo, i can validate my identity but after that, when
| the program return to the calling page
| (with Response.Redirect Session("REFERRER"))
| i have a page not found error message
|
| Do you understand it?
|
| Regards
|
|
|
|
|
| Stefan B Rusynko a écrit dans le message
| <#[email protected]>...
| >Just remove the scid
| >- error in script
| >
| >PS
| >that KB article has been updated to remove it - refresh your browser
| >See http://support.microsoft.com/default.aspx?scid=kb;en-us;321503
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| Hi all,
| >|
| >| i am trying ms arcticle 321503 on how to use a mdb file to password
| protect
| >| pages.
| >|
| >| In the article all the link to pages are like
| >|
| >| <a href="/?scid=secure.asp">
| >|
| >| If i use that syntax i cannot acces any page, i am redirected to the
| defaut
| >| page
| >|
| >| if i use
| >|
| >| <a href="secure.asp">
| >|
| >| i am directed to the page correctly.
| >|
| >| What is the use of the /?scid
| >|
| >| How come it dont work (with fp 2000)
| >|
| >| regards,
| >| Pierre
| >|
| >|
| >|
| >
| >
|
|
 
P

Pierre

yes i have,
on the page logon.asp response.write session("REFERRER") is empty

The calling page is in the root web.
logon.asp is in the logon web
logon.inc and logon.mdb are in logon/_private

how come i loose referrer?

Regards,
Pierre

Stefan B Rusynko a écrit dans le message ...
 
S

Stefan B Rusynko

Then your logon page does not have the virtual include
<!--#include virtual="/logon/_private/logon.inc"-->
logon.inc sets the value for session("REFERRER") using
Session("REFERRER") = Request.ServerVariables("URL")
but only if you have a current user name




| yes i have,
| on the page logon.asp response.write session("REFERRER") is empty
|
| The calling page is in the root web.
| logon.asp is in the logon web
| logon.inc and logon.mdb are in logon/_private
|
| how come i loose referrer?
|
| Regards,
| Pierre
|
| Stefan B Rusynko a écrit dans le message ...
| >Have you session value for Session("REFERRER") on the calling page using
| >
| >Session("REFERRER") = Request.ServerVariables("URL")
| >
| >And a correct path to the LOGON page in
| >Const LOGON_PAGE = "/logon/logon.asp"
| >
| >Test it using
| >Response.write Session("REFERRER")
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| thanks
| >|
| >| If i try the demo, i can validate my identity but after that, when
| >| the program return to the calling page
| >| (with Response.Redirect Session("REFERRER"))
| >| i have a page not found error message
| >|
| >| Do you understand it?
| >|
| >| Regards
| >|
| >|
| >|
| >|
| >|
| >| Stefan B Rusynko a écrit dans le message
| >| <#[email protected]>...
| >| >Just remove the scid
| >| >- error in script
| >| >
| >| >PS
| >| >that KB article has been updated to remove it - refresh your browser
| >| >See http://support.microsoft.com/default.aspx?scid=kb;en-us;321503
| >| >
| >| >--
| >| >
| >| >_____________________________________________
| >| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >| >"Warning - Using the F1 Key will not break anything!" (-;
| >| >To find the best Newsgroup for FrontPage support see:
| >| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >| >_____________________________________________
| >| >
| >| >
| >| | >| >| Hi all,
| >| >|
| >| >| i am trying ms arcticle 321503 on how to use a mdb file to password
| >| protect
| >| >| pages.
| >| >|
| >| >| In the article all the link to pages are like
| >| >|
| >| >| <a href="/?scid=secure.asp">
| >| >|
| >| >| If i use that syntax i cannot acces any page, i am redirected to the
| >| defaut
| >| >| page
| >| >|
| >| >| if i use
| >| >|
| >| >| <a href="secure.asp">
| >| >|
| >| >| i am directed to the page correctly.
| >| >|
| >| >| What is the use of the /?scid
| >| >|
| >| >| How come it dont work (with fp 2000)
| >| >|
| >| >| regards,
| >| >| Pierre
| >| >|
| >| >|
| >| >|
| >| >
| >| >
| >|
| >|
| >
| >
|
|
 
P

Pierre

Yes it is there and i can see that the user identity is correctly tested
The user and password box is display on the screen
If i enter the correct user and pw i see that the calling page is not called
and a http 500 internal error is displayed
If i enter an invalid id the password and user field are cleared
and the page wait for a valid entry.

Can you see why the session referrer is not memorized?

Regards,
Pierre

Stefan B Rusynko a écrit dans le message ...
Then your logon page does not have the virtual include
<!--#include virtual="/logon/_private/logon.inc"-->
logon.inc sets the value for session("REFERRER") using
Session("REFERRER") = Request.ServerVariables("URL")
but only if you have a current user name




| yes i have,
| on the page logon.asp response.write session("REFERRER") is empty
|
| The calling page is in the root web.
| logon.asp is in the logon web
| logon.inc and logon.mdb are in logon/_private
|
| how come i loose referrer?
|
| Regards,
| Pierre
|
| Stefan B Rusynko a écrit dans le message ...
| >Have you session value for Session("REFERRER") on the calling page using
| >
| >Session("REFERRER") = Request.ServerVariables("URL")
| >
| >And a correct path to the LOGON page in
| >Const LOGON_PAGE = "/logon/logon.asp"
| >
| >Test it using
| >Response.write Session("REFERRER")
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| thanks
| >|
| >| If i try the demo, i can validate my identity but after that, when
| >| the program return to the calling page
| >| (with Response.Redirect Session("REFERRER"))
| >| i have a page not found error message
| >|
| >| Do you understand it?
| >|
| >| Regards
| >|
| >|
| >|
| >|
| >|
| >| Stefan B Rusynko a écrit dans le message
| >| <#[email protected]>...
| >| >Just remove the scid
| >| >- error in script
| >| >
| >| >PS
| >| >that KB article has been updated to remove it - refresh your browser
| >| >See http://support.microsoft.com/default.aspx?scid=kb;en-us;321503
| >| >
| >| >--
| >| >
| >| >_____________________________________________
| >| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >| >"Warning - Using the F1 Key will not break anything!" (-;
| >| >To find the best Newsgroup for FrontPage support see:
| >| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >| >_____________________________________________
| >| >
| >| >
| >| | >| >| Hi all,
| >| >|
| >| >| i am trying ms arcticle 321503 on how to use a mdb file to password
| >| protect
| >| >| pages.
| >| >|
| >| >| In the article all the link to pages are like
| >| >|
| >| >| <a href="/?scid=secure.asp">
| >| >|
| >| >| If i use that syntax i cannot acces any page, i am redirected to the
| >| defaut
| >| >| page
| >| >|
| >| >| if i use
| >| >|
| >| >| <a href="secure.asp">
| >| >|
| >| >| i am directed to the page correctly.
| >| >|
| >| >| What is the use of the /?scid
| >| >|
| >| >| How come it dont work (with fp 2000)
| >| >|
| >| >| regards,
| >| >| Pierre
| >| >|
| >| >|
| >| >|
| >| >
| >| >
| >|
| >|
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top